Add snips
This commit is contained in:
parent
9c8d023a56
commit
da89bf9b4f
18
nginx.conf
18
nginx.conf
|
@ -105,3 +105,21 @@ server {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
listen [::]:8080;
|
||||||
|
|
||||||
|
server_name snips.ralsina.me;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8091 ;
|
||||||
|
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";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue