diff --git a/conf/nginx.conf b/conf/nginx.conf index cfc3e41..689aaaa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,13 +5,14 @@ location / { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass https://127.0.0.1:__PORT__; - proxy_redirect off; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Host $server_name; + 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_set_header Host $http_host; + proxy_set_header X-NginX-Proxy true; + + proxy_pass http://127.0.0.1:__PORT__; + proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..ef4443f --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1,2 @@ +NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance. +Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community. \ No newline at end of file