parent
efb2e94adc
commit
afd5267754
|
@ -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/;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue