Hi everyone
yesterday I have try to install bromite webview on my phone.
but with this one my home assistant companion don’t work when I use my reverse proxy URL (work when I target directly home assistant)
does somebody have already get this issue?
here my reverse proxy configuration
server {
listen 443 ssl;
server_name hass.yyyyyyy.xxx;
index index.html index.htm;
access_log /var/log/nginx/hass.access.log;
error_log /var/log/nginx/hass.error.log error;
include /etc/nginx/conf.d/ducamps.win.ssl;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
proxy_pass http://localhost:8123;
}
location /api/websocket {
proxy_pass http://localhost:8123/api/websocket;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}