diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-10-14 21:27:28 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-10-14 21:27:28 +0200 |
commit | f2f8d661a0f1a99604fd1c502c708d6824948376 (patch) | |
tree | 1ac90e398726c2ab85d6937de4a6a6352c7a91d6 /roles/nginx/vhost | |
parent | finalize wolke.elevate.at (diff) |
nextcloud deployment made easier
Diffstat (limited to 'roles/nginx/vhost')
-rw-r--r-- | roles/nginx/vhost/templates/generic-proxy-no-buffering-with-acme.conf.j2 | 3 |
1 files changed, 3 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 55bd5ac6..0d3e1db2 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 @@ -39,5 +39,8 @@ server { proxy_set_header Connection $connection_upgrade; proxy_pass {{ nginx_vhost.proxy_pass }}; +{% if 'proxy_redirect' in nginx_vhost %} + proxy_redirect {{ nginx_vhost.proxy_redirect.redirect }} {{ nginx_vhost.proxy_redirect.replacement }}; +{% endif %} } } |