diff --git a/NGINX-Reverse-Proxy-for-Web-UI.md b/NGINX-Reverse-Proxy-for-Web-UI.md index 5b683ca..f0697db 100644 --- a/NGINX-Reverse-Proxy-for-Web-UI.md +++ b/NGINX-Reverse-Proxy-for-Web-UI.md @@ -1,9 +1,17 @@ -If you're using NGINX as a reverse proxy for Web UI, as of version 3.3.14 (3.3.13 will break your setup), you'll need to add this to your `location /` +If you're using NGINX as a reverse proxy for Web UI, as of version 3.3.15, assuming your reverse proxy is local, your `location /` should look similar to the following: ``` + location / { +... + proxy_pass http://127.0.0.1:/; +... + proxy_set_header X-Forwarded-Host 127.0.0.1:; +... proxy_hide_header Referer; proxy_hide_header Origin; - proxy_set_header Referer ''; - proxy_set_header Origin ''; + proxy_set_header Referer ''; + proxy_set_header Origin ''; +... + } ``` \ No newline at end of file