Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

etc_apache2_sites-available_fathom.j2 825B

1234567891011121314151617181920212223
  1. <VirtualHost *:80>
  2. ServerName {{ fathom_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ fathom_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ fathom_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/fathom.info-error_log
  14. CustomLog /var/log/apache2/fathom.info-access_log common
  15. ProxyRequests On
  16. ProxyPreserveHost On
  17. ProxyPass / http://localhost:{{ fathom_internal_port }}/
  18. ProxyPassReverse / http://localhost:{{ fathom_internal_port }}/
  19. </VirtualHost>