2022-05-03 16:10:33 +00:00
|
|
|
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;
|
|
|
|
}
|
2022-06-27 20:18:19 +00:00
|
|
|
error_page 500 502 503 504 /custom_50x.html;
|
|
|
|
location = /custom_50x.html {
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
internal;
|
|
|
|
}
|
2022-05-03 16:10:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
2022-06-27 20:18:19 +00:00
|
|
|
error_page 403 404 500 502 503 504 /custom_50x.html;
|
|
|
|
location = /custom_50x.html {
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
internal;
|
|
|
|
}
|
2022-05-03 16:10:33 +00:00
|
|
|
}
|
2022-06-29 00:08:00 +00:00
|
|
|
|
2022-07-16 17:28:47 +00:00
|
|
|
server {
|
|
|
|
listen 8080;
|
|
|
|
listen [::]:8080;
|
|
|
|
|
|
|
|
server_name faas.ralsina.me;
|
|
|
|
|
2022-07-19 17:50:07 +00:00
|
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
2023-02-08 17:32:47 +00:00
|
|
|
add_header 'Access-Control-Allow-Headers' '*';
|
2022-07-19 17:50:07 +00:00
|
|
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
|
|
|
|
2022-07-16 17:28:47 +00:00
|
|
|
location / {
|
|
|
|
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8082;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2022-09-29 18:58:47 +00:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 8080;
|
|
|
|
listen [::]:8080;
|
|
|
|
|
|
|
|
server_name hass.ralsina.me;
|
|
|
|
|
|
|
|
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";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-11 20:39:03 +00:00
|
|
|
# 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";
|
|
|
|
# }
|
|
|
|
# }
|
2022-11-11 19:45:08 +00:00
|
|
|
|