1
0
Fork 0
forked from exozyme/nginx

Updated nvpie config for websockets

This commit is contained in:
Neovoid Pineapple 2023-12-29 11:23:34 +00:00
parent af75fb68a7
commit bfce841044
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

View file

@ -6,10 +6,11 @@ server {
ssl_certificate /etc/letsencrypt/live/neovoid.is-cool.dev/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/neovoid.is-cool.dev/privkey.pem;
root /srv/http/pages/nvpie;
index index.html;
location / {
try_files $uri $uri.html $uri/ =404;
proxy_pass http://unix:/srv/http/pages/nvpie;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}