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_matrix.j2 637B

1234567891011121314151617181920
  1. <VirtualHost *:80>
  2. ServerName {{ matrix_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ matrix_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ matrix_subdomain }}.{{ item.name }}
  7. SSLEngine On
  8. DocumentRoot "/var/www/riot"
  9. DirectoryIndex index.html
  10. Options -Indexes
  11. HostnameLookups Off
  12. ProxyRequests Off
  13. ProxyPreserveHost On
  14. ProxyPass /_matrix http://localhost:8008/_matrix nocanon
  15. ProxyPassReverse /_matrix http://localhost:8008/_matrix
  16. </VirtualHost>