Commit 517e8dfb authored by Till Brehm's avatar Till Brehm

Merge branch '4325-redir-off' into 'develop'

Disable http to https redirect when SSL is turned off

Closes #4325

See merge request ispconfig/ispconfig3!1170
parents e255b992 f0cc342e
......@@ -1491,6 +1491,10 @@ class apache2_plugin {
$tpl->setVar('rewrite_enabled', 0);
}
if($data['new']['ssl'] == 'n') {
$tpl->setVar('rewrite_to_https', 'n');
}
//$tpl->setLoop('redirects',$rewrite_rules);
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment