Merge remote-tracking branch 'upstream/master'

This commit is contained in:
liquidat 2016-01-13 17:49:20 +01:00
commit 88b22fae69
2 changed files with 16 additions and 0 deletions

View file

@ -7,17 +7,21 @@
{% if vhost.serveralias is defined %} {% if vhost.serveralias is defined %}
ServerAlias {{ vhost.serveralias }} ServerAlias {{ vhost.serveralias }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
DocumentRoot {{ vhost.documentroot }} DocumentRoot {{ vhost.documentroot }}
{% endif %}
{% if vhost.serveradmin is defined %} {% if vhost.serveradmin is defined %}
ServerAdmin {{ vhost.serveradmin }} ServerAdmin {{ vhost.serveradmin }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
<Directory "{{ vhost.documentroot }}"> <Directory "{{ vhost.documentroot }}">
AllowOverride All AllowOverride All
Options -Indexes FollowSymLinks Options -Indexes FollowSymLinks
Order allow,deny Order allow,deny
Allow from all Allow from all
</Directory> </Directory>
{% endif %}
{% if vhost.extra_parameters is defined %} {% if vhost.extra_parameters is defined %}
{{ vhost.extra_parameters }} {{ vhost.extra_parameters }}
{% endif %} {% endif %}
@ -32,7 +36,9 @@
{% if vhost.serveralias is defined %} {% if vhost.serveralias is defined %}
ServerAlias {{ vhost.serveralias }} ServerAlias {{ vhost.serveralias }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
DocumentRoot {{ vhost.documentroot }} DocumentRoot {{ vhost.documentroot }}
{% endif %}
SSLEngine on SSLEngine on
SSLCipherSuite {{ apache_ssl_cipher_suite }} SSLCipherSuite {{ apache_ssl_cipher_suite }}
@ -47,12 +53,14 @@
{% if vhost.serveradmin is defined %} {% if vhost.serveradmin is defined %}
ServerAdmin {{ vhost.serveradmin }} ServerAdmin {{ vhost.serveradmin }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
<Directory "{{ vhost.documentroot }}"> <Directory "{{ vhost.documentroot }}">
AllowOverride All AllowOverride All
Options -Indexes FollowSymLinks Options -Indexes FollowSymLinks
Order allow,deny Order allow,deny
Allow from all Allow from all
</Directory> </Directory>
{% endif %}
{% if vhost.extra_parameters is defined %} {% if vhost.extra_parameters is defined %}
{{ vhost.extra_parameters }} {{ vhost.extra_parameters }}
{% endif %} {% endif %}

View file

@ -7,16 +7,20 @@
{% if vhost.serveralias is defined %} {% if vhost.serveralias is defined %}
ServerAlias {{ vhost.serveralias }} ServerAlias {{ vhost.serveralias }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
DocumentRoot {{ vhost.documentroot }} DocumentRoot {{ vhost.documentroot }}
{% endif %}
{% if vhost.serveradmin is defined %} {% if vhost.serveradmin is defined %}
ServerAdmin {{ vhost.serveradmin }} ServerAdmin {{ vhost.serveradmin }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
<Directory "{{ vhost.documentroot }}"> <Directory "{{ vhost.documentroot }}">
AllowOverride All AllowOverride All
Options -Indexes +FollowSymLinks Options -Indexes +FollowSymLinks
Require all granted Require all granted
</Directory> </Directory>
{% endif %}
{% if vhost.extra_parameters is defined %} {% if vhost.extra_parameters is defined %}
{{ vhost.extra_parameters }} {{ vhost.extra_parameters }}
{% endif %} {% endif %}
@ -31,7 +35,9 @@
{% if vhost.serveralias is defined %} {% if vhost.serveralias is defined %}
ServerAlias {{ vhost.serveralias }} ServerAlias {{ vhost.serveralias }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
DocumentRoot {{ vhost.documentroot }} DocumentRoot {{ vhost.documentroot }}
{% endif %}
SSLEngine on SSLEngine on
SSLCipherSuite {{ apache_ssl_cipher_suite }} SSLCipherSuite {{ apache_ssl_cipher_suite }}
@ -47,11 +53,13 @@
{% if vhost.serveradmin is defined %} {% if vhost.serveradmin is defined %}
ServerAdmin {{ vhost.serveradmin }} ServerAdmin {{ vhost.serveradmin }}
{% endif %} {% endif %}
{% if vhost.documentroot is defined %}
<Directory "{{ vhost.documentroot }}"> <Directory "{{ vhost.documentroot }}">
AllowOverride All AllowOverride All
Options -Indexes +FollowSymLinks Options -Indexes +FollowSymLinks
Require all granted Require all granted
</Directory> </Directory>
{% endif %}
{% if vhost.extra_parameters is defined %} {% if vhost.extra_parameters is defined %}
{{ vhost.extra_parameters }} {{ vhost.extra_parameters }}
{% endif %} {% endif %}