From 3de9039037d640c1392e4f301775e40e9547972d Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sat, 20 Jul 2024 21:10:05 -0300 Subject: [PATCH] Faaso-prod and nicolino static site --- reverse_proxy/nginx.conf | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/reverse_proxy/nginx.conf b/reverse_proxy/nginx.conf index 9e48a0a..d4ba6c7 100644 --- a/reverse_proxy/nginx.conf +++ b/reverse_proxy/nginx.conf @@ -2,10 +2,30 @@ server { listen 8080; listen [::]:8080; + server_name faaso-prod.ralsina.me; + + location / { + proxy_pass http://rocky.tail20c16.ts.net:8888; + proxy_set_header X-Forwarded-Host $http_host; + proxy_set_header Host $host; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection upgrade; + proxy_set_header Accept-Encoding gzip; + } + 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 code.ralsina.me; location / { - proxy_pass http://mindy.ralsina.github.beta.tailscale.net:8088; + proxy_pass http://mindy.tail20c16.ts.net:8088; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; @@ -25,9 +45,10 @@ server { server_name home.ralsina.me; server_name ralsina.me; server_name faaso.ralsina.me; + server_name nicolino.ralsina.me; location / { - proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080; + proxy_pass http://pinky.tail20c16.ts.net:8080; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header Host $host; }