From 96da710831a5c720753c98e7bcb94b449ea33b73 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Tue, 11 Apr 2023 17:39:03 -0300 Subject: [PATCH] Disable external access to misskey --- nginx.conf | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/nginx.conf b/nginx.conf index a3534b7..7adaa77 100644 --- a/nginx.conf +++ b/nginx.conf @@ -70,20 +70,20 @@ server { } } -server { - listen 8080; - listen [::]:8080; +# server { + # listen 8080; + # listen [::]:8080; - server_name social.ralsina.me; + # server_name social.ralsina.me; - location / { - proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3003; - proxy_set_header X-Forwarded-Host $http_host; + # 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"; - } -} + # # WebSocket support + # proxy_http_version 1.1; + # proxy_set_header Upgrade $http_upgrade; + # proxy_set_header Connection "upgrade"; + # } +# }