summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-08-28 23:18:23 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-08-28 23:18:23 +0200
commit827165f8d27c951daa6d25a7666bb6081ad2733a (patch)
treee0e2762e17cc1b7522355e6474bc566f6da4134e /roles/nginx/vhost/templates
parentadd chaos-at-home logo (diff)
ch-http-proxy: prepare reverse proxy for passwd.chaos-at-home.org
Diffstat (limited to 'roles/nginx/vhost/templates')
-rw-r--r--roles/nginx/vhost/templates/generic-proxy-no-buffering-with-acme.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/nginx/vhost/templates/generic-proxy-no-buffering-with-acme.conf.j2 b/roles/nginx/vhost/templates/generic-proxy-no-buffering-with-acme.conf.j2
index b943b2e4..f74f920b 100644
--- a/roles/nginx/vhost/templates/generic-proxy-no-buffering-with-acme.conf.j2
+++ b/roles/nginx/vhost/templates/generic-proxy-no-buffering-with-acme.conf.j2
@@ -40,5 +40,10 @@ server {
proxy_redirect {{ entry.redirect }} {{ entry.replacement }};
{% endfor %}
{% endif %}
+{% if 'proxy_ssl' in nginx_vhost %}
+{% for prop in (nginx_vhost.proxy_ssl | list | sort) %}
+ proxy_ssl_{{ prop }} {{ nginx_vhost.proxy_ssl[prop] }};
+{% endfor %}
+{% endif %}
}
}