Compare commits
2 Commits
dbd12a5c7b
...
5c86eb9366
Author | SHA1 | Date |
---|---|---|
Roberto Alsina | 5c86eb9366 | |
Roberto Alsina | 96da710831 |
50
nginx.conf
50
nginx.conf
|
@ -53,37 +53,37 @@ server {
|
|||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
# server {
|
||||
# listen 8080;
|
||||
# listen [::]:8080;
|
||||
|
||||
server_name hass.ralsina.me;
|
||||
# server_name hass.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
# location / {
|
||||
# proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
|
||||
# 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";
|
||||
}
|
||||
}
|
||||
# proxy_http_version 1.1;
|
||||
# proxy_set_header Upgrade $http_upgrade;
|
||||
# proxy_set_header Connection "upgrade";
|
||||
# }
|
||||
# }
|
||||
|
||||
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";
|
||||
# }
|
||||
# }
|
||||
|
||||
|
|
Loading…
Reference in New Issue