proxy rss server

This commit is contained in:
Roberto Alsina 2022-06-28 21:08:00 -03:00
parent 145228b4b6
commit 89a5eaecfa

View File

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