説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

etc_apache2_sites-available_matrix.j2 812B

1234567891011121314151617181920212223
  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. LogLevel warn
  13. ErrorLog /var/log/apache2/matrix.info-error_log
  14. CustomLog /var/log/apache2/matrix.info-access_log common
  15. ProxyRequests Off
  16. ProxyPreserveHost On
  17. ProxyPass /_matrix http://localhost:8008/_matrix nocanon
  18. ProxyPassReverse /_matrix http://localhost:8008/_matrix
  19. </VirtualHost>