Sin descripción
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_blog.j2 444B

1234567891011121314151617
  1. <VirtualHost *:80>
  2. ServerName {{ item.name }}
  3. ServerAlias www.{{ item.name }}
  4. Redirect temp / https://www.{{ item.name }}/
  5. </VirtualHost>
  6. <VirtualHost *:443>
  7. ServerName {{ item.name }}
  8. ServerAlias www.{{ item.name }}
  9. SSLEngine On
  10. DocumentRoot "{{ item.doc_root }}"
  11. DirectoryIndex index.html
  12. Options -Indexes
  13. HostnameLookups Off
  14. </VirtualHost>