Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

etc_apache2_sites-available_fathom.j2 602B

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