Fix novnc ssl issue

Change-Id: I7a7e2f940bf5b4b3485537c8b0f069910bbc0065
This commit is contained in:
Proskurin Kirill 2017-03-15 19:51:19 +00:00
parent aa75bd7512
commit b09e45fa68
1 changed files with 16 additions and 2 deletions

View File

@ -2,8 +2,22 @@
listen {{ network_topology["private"]["address"] }}:{{ nova.novncproxy_port.cont }} ssl;
include common/ssl.conf;
location / {
proxy_pass http://novncproxy;
location /console {
rewrite ^/console/(.*) /$1 break;
include common/proxy-headers.conf;
proxy_http_version 1.1;
proxy_read_timeout 86400;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://novncproxy;
}
location / {
include common/proxy-headers.conf;
proxy_http_version 1.1;
proxy_read_timeout 86400;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://novncproxy;
}
}