Disable external access to misskey

This commit is contained in:
Roberto Alsina 2023-04-11 17:39:03 -03:00
parent dbd12a5c7b
commit 96da710831
1 changed files with 13 additions and 13 deletions

View File

@ -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";
# }
# }