feat(faq): update Nginx configuration example

pull/12/head 1.11.1
Anthony Lapenna 2017-01-12 09:52:52 +13:00
parent efb2e94adc
commit afd5267754
1 changed files with 2 additions and 2 deletions

View File

@ -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/;
}
}