Just a quicky, If I change the hostname of my homeassistant installation in settings/system/network/Hostname to lets say farmmachine, do I also have to update the last line in /share/nginx_proxy_default_fix_ingress.conf to proxy_pass http://farmmachine.local.hass.io:8123/api;
Hi @SlinkyHR are you using nginx-ingress? can you please provide us with Ingress or VirtualServer yaml?
Hi,
This is the yaml I am using
location /api {
proxy_connect_timeout 60;
proxy_read_timeout 60;
proxy_send_timeout 60;
proxy_intercept_errors off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host:8126;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://homeassistant.local.hass.io:8123/api;
}
this looks like raw nginx configuration not a yaml, can you please let us know if you’re using vanilla nginx or nginx ingress controlle? asking as this is tagged as nginx-ingress
Ah! I am using vanilla