1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osjs_ynh.git synced 2024-09-03 19:56:11 +02:00

Update nginx.conf

This commit is contained in:
frju365 2018-05-11 12:16:35 +02:00 committed by GitHub
parent 85737d6292
commit 7daf4991db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ location / {
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;
proxy_pass http://localhost:__PORT__/;
proxy_pass http://localhost:__PORT__/;
proxy_redirect off; # Also note this
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;