proxy rss server
This commit is contained in:
parent
145228b4b6
commit
89a5eaecfa
18
nginx.conf
18
nginx.conf
@ -20,7 +20,6 @@ server {
|
||||
listen [::]:8080;
|
||||
|
||||
server_name git.ralsina.me;
|
||||
server_name got.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3000;
|
||||
@ -32,3 +31,20 @@ server {
|
||||
internal;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
||||
server_name rss.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:5000;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
error_page 500 502 503 504 /custom_50x.html;
|
||||
location = /custom_50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
internal;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user