images/vino-reverse-proxy/assets/default.conf.tpl
Ian Howell aee28c9a98 Add TLS options to the reverse-proxy for vino
This adds the option to enable TLS for the vino reverse-proxy. As a
bonus, basic_auth has also been parameterized.

Change-Id: I202c2184fb0fa08585c150110be1127ff326865e
2021-06-25 15:25:04 -05:00

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;
}
}