From 827165f8d27c951daa6d25a7666bb6081ad2733a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 28 Aug 2020 23:18:23 +0200 Subject: ch-http-proxy: prepare reverse proxy for passwd.chaos-at-home.org --- roles/nginx/vhost/defaults/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'roles/nginx/vhost/defaults') diff --git a/roles/nginx/vhost/defaults/main.yml b/roles/nginx/vhost/defaults/main.yml index eea545c8..18c9a0b9 100644 --- a/roles/nginx/vhost/defaults/main.yml +++ b/roles/nginx/vhost/defaults/main.yml @@ -1,5 +1,6 @@ --- # nginx_vhost: +# default: yes # name: example # template: generic-proxy-no-buffering-with-acme # acme: yes @@ -7,7 +8,14 @@ # - example.com # - www.example.com # proxy_pass: http://127.0.0.1:8080 -# default: yes +# proxy_redirect: +# - redirect: "http://$host/" +# replacement: "https://$host/" +# - redirect: "http://$host:8080/" +# replacement: "https://$host/" +# proxy_ssl: +# verify: on +# trusted_certificate: /path/to/ca.pem # nginx_vhost: # name: other-example -- cgit v1.2.3