s/end/endif/g
This commit is contained in:
parent
ed909fd8f8
commit
d0cee5b994
1 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
{% if gzip %}
|
||||
SetOutputFilter DEFLATE
|
||||
{% end %}
|
||||
{% endif %}
|
||||
|
||||
{% if sslonly %}
|
||||
RewriteEngine On
|
||||
|
@ -16,7 +16,7 @@
|
|||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
|
||||
{% else %}
|
||||
Include "conf.d/{{ name }}/*.conf"
|
||||
{% end %}
|
||||
{% endif %}
|
||||
</VirtualHost>
|
||||
|
||||
{% if ssl %}
|
||||
|
@ -24,19 +24,19 @@
|
|||
ServerName {{ name }}
|
||||
{% if server_aliases %}
|
||||
ServerAlias {{ server_aliases.join(" ") }}
|
||||
{% end %}
|
||||
{% endif %}
|
||||
ServerAdmin {{ server_admin }}
|
||||
|
||||
{% if gzip %}
|
||||
SetOutputFilter DEFLATE
|
||||
{% end %}
|
||||
{% endif %}
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/pki/tls/certs/{{ cert_name }}.cert
|
||||
SSLCertificateKeyFile /etc/pki/tls/private/{{ cert_name }}.key
|
||||
{% if SSLCertificateChainFile %}
|
||||
SSLCertificateChainFile /etc/pki/tls/certs/{{ SSLCertificateChainFile }}
|
||||
{% end %}
|
||||
{% endif %}
|
||||
SSLHonorCipherOrder On
|
||||
|
||||
# https://fedorahosted.org/fedora-infrastructure/ticket/4101#comment:14
|
||||
|
@ -47,4 +47,4 @@
|
|||
|
||||
Include "conf.d/{{ name }}/*.conf"
|
||||
</VirtualHost>
|
||||
{% end %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue