Compare commits

...

2 Commits

Author SHA1 Message Date
Roberto Alsina 5c86eb9366 no more exposed hass 2023-04-12 11:39:25 -03:00
Roberto Alsina 96da710831 Disable external access to misskey 2023-04-11 17:39:03 -03:00
1 changed files with 25 additions and 25 deletions

View File

@ -53,37 +53,37 @@ server {
} }
} }
server { # server {
listen 8080; # listen 8080;
listen [::]:8080; # listen [::]:8080;
server_name hass.ralsina.me; # server_name hass.ralsina.me;
location / { # location / {
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123; # proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
proxy_set_header X-Forwarded-Host $http_host; # proxy_set_header X-Forwarded-Host $http_host;
# WebSocket support # WebSocket support
proxy_http_version 1.1; # proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; # proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; # proxy_set_header Connection "upgrade";
} # }
} # }
server { # server {
listen 8080; # listen 8080;
listen [::]:8080; # listen [::]:8080;
server_name social.ralsina.me; # server_name social.ralsina.me;
location / { # location / {
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3003; # proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3003;
proxy_set_header X-Forwarded-Host $http_host; # proxy_set_header X-Forwarded-Host $http_host;
# WebSocket support # # WebSocket support
proxy_http_version 1.1; # proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; # proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; # proxy_set_header Connection "upgrade";
} # }
} # }