summaryrefslogtreecommitdiffstats
path: root/roles/httpd/templates/vhost_redirect.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/httpd/templates/vhost_redirect.conf')
-rw-r--r--roles/httpd/templates/vhost_redirect.conf16
1 files changed, 0 insertions, 16 deletions
diff --git a/roles/httpd/templates/vhost_redirect.conf b/roles/httpd/templates/vhost_redirect.conf
deleted file mode 100644
index 1c93343..0000000
--- a/roles/httpd/templates/vhost_redirect.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-<VirtualHost *:80>
- {% if website_password is defined %}
- <Location />
-
- AuthType Basic
- AuthName "Restricted access, contact OSAS for password"
- AuthUserFile /etc/httpd/{{ website_url }}.htpasswd
- Require valid-user
- </Location>
- {% endif %}
-
- ServerName {{ website_url }}
- Redirect / {{ redirect }}
-</VirtualHost>
-
-