forked from exozyme/nginx
Updated nvpie config for websockets
This commit is contained in:
parent
af75fb68a7
commit
bfce841044
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue