summaryrefslogtreecommitdiffstats
path: root/roles/httpd/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/httpd/templates')
-rw-r--r--roles/httpd/templates/vhost.conf21
-rw-r--r--roles/httpd/templates/vhost_redirect.conf16
2 files changed, 0 insertions, 37 deletions
diff --git a/roles/httpd/templates/vhost.conf b/roles/httpd/templates/vhost.conf
deleted file mode 100644
index 21172c9..0000000
--- a/roles/httpd/templates/vhost.conf
+++ /dev/null
@@ -1,21 +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 %}
-
- <Directory "{{ document_root }}">
- AllowOverride All
- </Directory>
-
- ServerName {{ website_url }}
- DocumentRoot {{ document_root }}
- Include /etc/httpd/conf.d/{{ website_url}}.conf.d/*conf
-</VirtualHost>
-
-
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>
-
-