Cleanup, fix header for caddy backend
This commit is contained in:
@ -7,6 +7,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
error_page 500 502 503 504 /custom_50x.html;
|
||||
location = /custom_50x.html {
|
||||
@ -24,6 +25,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8086;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
error_page 500 502 503 504 /custom_50x.html;
|
||||
location = /custom_50x.html {
|
||||
@ -41,6 +43,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3000;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
error_page 403 404 500 502 503 504 /custom_50x.html;
|
||||
location = /custom_50x.html {
|
||||
@ -67,6 +70,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:7777;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /stream {
|
||||
@ -127,23 +131,6 @@ 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";
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
Reference in New Issue
Block a user