From 03724dea21166a12281e659170b4c34267a4de9d Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 11 Jul 2024 17:09:30 -0300 Subject: [PATCH] faaso server --- reverse_proxy/nginx.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/reverse_proxy/nginx.conf b/reverse_proxy/nginx.conf index 6799d0b..4fd02f0 100644 --- a/reverse_proxy/nginx.conf +++ b/reverse_proxy/nginx.conf @@ -16,6 +16,24 @@ server { } } +server { + listen 8080; + listen [::]:8080; + + server_name faaso.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;