Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem on 2 redirect #615

Open
platini76 opened this issue Jan 5, 2025 · 1 comment
Open

problem on 2 redirect #615

platini76 opened this issue Jan 5, 2025 · 1 comment

Comments

@platini76
Copy link

platini76 commented Jan 5, 2025

I have two problems.

my homeassistant is on xxx.duckdns.org:8126
all is setup correctly except for the button open webui that want to see the page xxx.duckdns.org:8181
the port on the router is not opened and I don't want to open it.
I just want to redirect on my local address 192.168.0.50:8123
is there a way to do it?

and the second issue:
I setup:
location /mountain/ {
rewrite /mountain/(.*) /$1 break;
proxy_pass http://192.168.0.158;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /calibre-web;
proxy_set_header Origin https://$host;
}

the address correspond to a wled device that has the page setup, when I click on it from HA the result is:

Screenshot 2025-01-05 alle 06 41 31 the page is loaded but link inside page are 404 any solution?
@platini76
Copy link
Author

noone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant