diff --git a/reverse_proxy/nginx.conf b/reverse_proxy/nginx.conf index bd92ce9..474674f 100644 --- a/reverse_proxy/nginx.conf +++ b/reverse_proxy/nginx.conf @@ -2,6 +2,23 @@ server { listen 8080; listen [::]:8080; + server_name code.ralsina.me; + + location / { + proxy_pass http://mindy.ralsina.github.beta.tailscale.net:8088; + 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 home.ralsina.me; server_name ralsina.me;