From 5c86eb93660df40dd63ca75b39a1e1aaea325560 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Wed, 12 Apr 2023 11:39:25 -0300 Subject: [PATCH] no more exposed hass --- nginx.conf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/nginx.conf b/nginx.conf index 7adaa77..7af6db3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;