diff options
Diffstat (limited to 'roles/sublab_web/templates/subdap-ssl.conf.j2')
-rw-r--r-- | roles/sublab_web/templates/subdap-ssl.conf.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/sublab_web/templates/subdap-ssl.conf.j2 b/roles/sublab_web/templates/subdap-ssl.conf.j2 index bec8c54..2e543b8 100644 --- a/roles/sublab_web/templates/subdap-ssl.conf.j2 +++ b/roles/sublab_web/templates/subdap-ssl.conf.j2 @@ -1,3 +1,4 @@ +{% if 0 %} <Location "/subdap/"> ProxyPass "http://127.0.0.1:8001/" </Location> @@ -11,3 +12,7 @@ Alias /subdap/static /var/subdap/src/static AllowOverride None Require all granted </Directory> +{% else %} +RedirectMatch temp ^/(subdap(/?|/.*))$ https://{{ sublab_web_server_name }}/account-creation-suspended +{% endif %} + |