1234567891011121314151617181920212223 |
- <VirtualHost *:80>
- ServerName {{ monit_subdomain }}.{{ item.name }}
-
- Redirect temp / https:
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerName {{ monit_subdomain }}.{{ item.name }}
-
- SSLEngine On
- DocumentRoot "{{ item.doc_root }}"
- DirectoryIndex index.html
- Options -Indexes
- HostnameLookups Off
- LogLevel warn
- ErrorLog /var/log/apache2/monit.info-error_log
- CustomLog /var/log/apache2/monit.info-access_log common
-
- ProxyRequests Off
- ProxyPreserveHost On
- ProxyPass / http:
- ProxyPassReverse / http:
- </VirtualHost>
|