aee28c9a98
This adds the option to enable TLS for the vino reverse-proxy. As a bonus, basic_auth has also been parameterized. Change-Id: I202c2184fb0fa08585c150110be1127ff326865e
16 lines
368 B
Smarty
16 lines
368 B
Smarty
server {
|
|
server_name localhost;
|
|
$tls_config
|
|
|
|
location / {
|
|
proxy_pass http://localhost:5000/;
|
|
proxy_set_header Authorization $http_authorization;
|
|
proxy_pass_header Authorization;
|
|
$basic_auth_config
|
|
}
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
}
|