No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_apache2_sites-available_commento.j2 997B

12345678910111213141516171819202122232425
  1. <VirtualHost *:80>
  2. ServerName {{ commento_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ commento_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ commento_subdomain }}.{{ item.name }}
  7. SSLEngine On
  8. DocumentRoot "{{ item.doc_root }}"
  9. DirectoryIndex index.html
  10. Options -Indexes
  11. HostnameLookups Off
  12. LogLevel warn
  13. ErrorLog /var/log/apache2/commento.info-error_log
  14. CustomLog /var/log/apache2/commento.info-access_log common
  15. ProxyRequests On
  16. ProxyPreserveHost On
  17. ProxyPass /ws ws://localhost:{{ commento_internal_port }}/ws
  18. ProxyPassReverse /ws ws://localhost:{{ commento_internal_port }}/ws
  19. ProxyPass / http://localhost:{{ commento_internal_port }}/
  20. ProxyPassReverse / http://localhost:{{ commento_internal_port }}/
  21. </VirtualHost>