51 lines
1.0 KiB
Nginx Configuration File
51 lines
1.0 KiB
Nginx Configuration File
server {
|
|
listen 8080;
|
|
listen [::]:8080;
|
|
|
|
server_name home.ralsina.me;
|
|
|
|
location / {
|
|
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080;
|
|
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;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 8080;
|
|
listen [::]:8080;
|
|
|
|
server_name git.ralsina.me;
|
|
|
|
location / {
|
|
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3000;
|
|
proxy_set_header X-Forwarded-Host $http_host;
|
|
}
|
|
error_page 403 404 500 502 503 504 /custom_50x.html;
|
|
location = /custom_50x.html {
|
|
root /usr/share/nginx/html;
|
|
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;
|
|
}
|
|
}
|