no more exposed hass
This commit is contained in:
parent
96da710831
commit
5c86eb9366
24
nginx.conf
24
nginx.conf
|
@ -53,22 +53,22 @@ server {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
# server {
|
||||||
listen 8080;
|
# listen 8080;
|
||||||
listen [::]:8080;
|
# listen [::]:8080;
|
||||||
|
|
||||||
server_name hass.ralsina.me;
|
# server_name hass.ralsina.me;
|
||||||
|
|
||||||
location / {
|
# location / {
|
||||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
|
# proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
# proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
|
||||||
# WebSocket support
|
# WebSocket support
|
||||||
proxy_http_version 1.1;
|
# proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
# proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
# proxy_set_header Connection "upgrade";
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
# listen 8080;
|
# listen 8080;
|
||||||
|
|
Loading…
Reference in New Issue