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 { # 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;