We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff920a3 commit 6661b22Copy full SHA for 6661b22
server/conf/vhost.conf.master
@@ -529,7 +529,16 @@
529
# WEBDAV END
530
</IfModule>
531
532
-<tmpl_var name='apache_directives'>
+<tmpl_if name='ssl_enabled'>
533
+ <tmpl_var name='apache_directives'>
534
+<tmpl_else>
535
+ <tmpl_if name='rewrite_to_https' op='==' value='y'>
536
+ # skipping apache_directives, as that will be handled by the ssl vhost
537
+ <tmpl_else>
538
539
+ </tmpl_if>
540
+</tmpl_if>
541
+
542
<tmpl_hook name='apache2_vhost:vhost_footer'>
543
</VirtualHost>
544
0 commit comments