1234567891011121314151617181920 |
- <VirtualHost *:80>
- ServerName {{ monit_subdomain }}.{{ item.name }}
-
- Redirect temp / https://{{ monit_subdomain }}.{{ item.name }}/
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerName {{ monit_subdomain }}.{{ item.name }}
-
- SSLEngine On
- DocumentRoot "{{ item.doc_root }}"
- DirectoryIndex index.html
- Options -Indexes
- HostnameLookups Off
-
- ProxyRequests Off
- ProxyPreserveHost On
- ProxyPass / http://localhost:2812/
- ProxyPassReverse / http://localhost:2812/
- </VirtualHost>
|