Merge "Fix novnc ssl issue"

This commit is contained in:
Jenkins 2017-03-16 08:53:09 +00:00 committed by Gerrit Code Review
commit d686c164c3
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;
}
}