no more exposed hass

This commit is contained in:
Roberto Alsina 2023-04-12 11:39:25 -03:00
parent 96da710831
commit 5c86eb9366
1 changed files with 12 additions and 12 deletions

View File

@ -53,22 +53,22 @@ server {
}
}
server {
listen 8080;
listen [::]:8080;
# server {
# listen 8080;
# listen [::]:8080;
server_name hass.ralsina.me;
# server_name hass.ralsina.me;
location / {
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
proxy_set_header X-Forwarded-Host $http_host;
# location / {
# proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
# proxy_set_header X-Forwarded-Host $http_host;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection "upgrade";
# }
# }
# server {
# listen 8080;