Skip to content
Snippets Groups Projects
Commit 6661b222 authored by Webslice's avatar Webslice
Browse files

#5428 ignore custom directives if forced https

parent ff920a38
No related branches found
No related tags found
No related merge requests found
...@@ -529,7 +529,16 @@ ...@@ -529,7 +529,16 @@
# WEBDAV END # WEBDAV END
</IfModule> </IfModule>
<tmpl_var name='apache_directives'> <tmpl_if name='ssl_enabled'>
<tmpl_var name='apache_directives'>
<tmpl_else>
<tmpl_if name='rewrite_to_https' op='==' value='y'>
# skipping apache_directives, as that will be handled by the ssl vhost
<tmpl_else>
<tmpl_var name='apache_directives'>
</tmpl_if>
</tmpl_if>
<tmpl_hook name='apache2_vhost:vhost_footer'> <tmpl_hook name='apache2_vhost:vhost_footer'>
</VirtualHost> </VirtualHost>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment