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