Fix novnc ssl issue
Change-Id: I7a7e2f940bf5b4b3485537c8b0f069910bbc0065
This commit is contained in:
parent
aa75bd7512
commit
b09e45fa68
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue