123456789101112131415161718192021222324 |
- <VirtualHost *:80>
- ServerName {{ item.name }}
- ServerAlias www.{{ item.name }}
-
- Redirect temp / https://www.{{ item.name }}/
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerName {{ item.name }}
-
- Redirect temp / https://www.{{ item.name }}/
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerAlias www.{{ item.name }}
-
- SSLEngine On
- DocumentRoot "{{ item.doc_root }}"
- DirectoryIndex index.html
- Options -Indexes
- HostnameLookups Off
- php_admin_flag engine On
- ErrorDocument 404 /404.html
- </VirtualHost>
|