TekniskSupport / homeassistant-addons

Addons for home assistant
10 stars 7 forks source link

404 not found nginx #46

Open bmx170 opened 1 week ago

bmx170 commented 1 week ago

I have everything port forwarded correctly (config set to 8888 and 8899, and port 8899 opened and pointed at HA), and when i go to http://xxxxxxxxxxx.ddns.net:8899/ it correctly displays the page where you can create links and see the created links, but when i attempt to use one of the links, im presented with an error 404 not found nginx page.

id like to know what im doing wrong and why the main page will load but no links will load

TekniskSupport commented 2 days ago

Hi,

Does it work locally? In other words, directly from ip and not thru the external ddns service (maybe they are blocking port?)

Only the public port should be forwarded to the internet, not the administration area.

The preconfigured values are that port 8888 is the public UI, and 8899 is the administration UI

In the settings: image

Enter http://xxxxxxxxxxx.ddns.net:8888/ as external url

then open port 8888 in your firewall (and close 8899)

You should now be able to follow links provided by the administration ui

image

image