diff --git a/nginx.conf b/nginx.conf index 107ad45..7220b9a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -69,3 +69,20 @@ server { } } +server { + listen 8080; + listen [::]:8080; + + server_name social.ralsina.me; + + location / { + proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3003; + 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"; + } +} +