Skip to content
Snippets Groups Projects
Commit 517e8dfb authored by Till Brehm's avatar Till Brehm
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
/**
......
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