summaryrefslogtreecommitdiff
path: root/roles/sublab_web/templates/subdap-ssl.conf.j2
blob: 2e543b8eece20edead710d9b733117bb5c482231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% if 0 %}
<Location "/subdap/">
    ProxyPass "http://127.0.0.1:8001/"
</Location>
<Location "/subdap/static">
    ProxyPass "!"
</Location>

Alias /subdap/static /var/subdap/src/static
<Directory /var/subdap/src/static>
  Options -Indexes -ExecCGI
  AllowOverride None
  Require all granted
</Directory>
{% else %}
RedirectMatch temp ^/(subdap(/?|/.*))$   https://{{ sublab_web_server_name }}/account-creation-suspended
{% endif %}