From f38450f9f2037244300082f3e4211b790ac87058 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 26 Oct 2015 20:38:25 +0100 Subject: Assorted changes - add hooks between webserver and gitserver: git->website and wiki->git work now, git->wiki is still missing, https://ikiwiki.info/tips/Hosting_Ikiwiki_and_master_git_repository_on_different_machines/ should contain the right info for that - actually configure repo_service - replace LDAP auth with dummy password auth for now --- roles/sublab_web/templates/subdap-ssl.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles/sublab_web/templates/subdap-ssl.conf.j2') 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 %} ProxyPass "http://127.0.0.1:8001/" @@ -11,3 +12,7 @@ Alias /subdap/static /var/subdap/src/static AllowOverride None Require all granted +{% else %} +RedirectMatch temp ^/(subdap(/?|/.*))$ https://{{ sublab_web_server_name }}/account-creation-suspended +{% endif %} + -- cgit v1.2.1