Updated Nginx Webserver Config (markdown)

Lauri Ojansivu 2018-01-24 15:03:04 +02:00
parent 1bde2553c2
commit 6356671db0

@ -53,7 +53,7 @@ server {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; # allow websockets
proxy_set_header Connection $connection_upgrade;;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr; # preserve client IP
# this setting allows the browser to cache the application in a way compatible with Meteor