From afd526775404fe29ae6edf5a73b05c8381f3edfc Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Thu, 12 Jan 2017 09:52:52 +1300 Subject: [PATCH] feat(faq): update Nginx configuration example --- docs/source/faq.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/faq.rst b/docs/source/faq.rst index f5b949a..f4fbc60 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -21,11 +21,11 @@ Here is a working configuration for Nginx (tested on 1.11) to serve Portainer at proxy_set_header Connection ""; proxy_pass http://portainer/; } - location /portainer/ws/ { + location /portainer/api/websocket/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_http_version 1.1; - proxy_pass http://portainer/ws/; + proxy_pass http://portainer/api/websocket/; } }