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 390d116 commit db636b5Copy full SHA for db636b5
install/tpl/apache_ispconfig.vhost.master
@@ -112,4 +112,8 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
112
<tmpl_var name="ssl_comment">SSLStaplingResponderTimeout 5
113
<tmpl_var name="ssl_comment">SSLStaplingReturnResponderErrors Off
114
</tmpl_if>
115
+
116
+ # Redirect http to https
117
+ ErrorDocument 400 "<script>document.location.href='https://'+location.hostname+':'+location.port';</script><h1>Error 400 - trying to redirect</h1>"
118
119
</VirtualHost>
0 commit comments