From 4ec0b1c6898adb2d130b794c444c9d4dd2e5b171 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Tue, 16 Jul 2024 21:21:39 -0300 Subject: [PATCH] simpler --- reverse_proxy/nginx.conf | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/reverse_proxy/nginx.conf b/reverse_proxy/nginx.conf index bd92ce9..5fe3f80 100644 --- a/reverse_proxy/nginx.conf +++ b/reverse_proxy/nginx.conf @@ -4,23 +4,6 @@ server { server_name home.ralsina.me; server_name ralsina.me; - - location / { - proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080; - proxy_set_header X-Forwarded-Host $http_host; - proxy_set_header Host $host; - } - error_page 500 502 503 504 /custom_50x.html; - location = /custom_50x.html { - root /usr/share/nginx/html; - internal; - } -} - -server { - listen 8080; - listen [::]:8080; - server_name faaso.ralsina.me; location / { @@ -133,23 +116,6 @@ server { } } -server { - listen 8080; - listen [::]:8080; - - server_name hass.ralsina.me; - - 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"; - } -} - server { listen 8080; listen [::]:8080;