Force Apache SSL Redirection from HTTP for iRedMail

From KlavoWiki
Revision as of 10:04, 6 July 2016 by David (talk | contribs) (Davidk moved page SSL for iRedMail force redirection to Force Apache SSL Redirection from HTTP for iRedMail without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Force SSL

To redirect all HTTP traffic to use SSL.

vi /etc/httpd/conf.d/ssl.conf

Add the following lines to the bottom of the file before the close of </VirtualHost>

RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "mail.myserver.com"
RequestHeader set "x-webobjects-server-url" "https://mail.myserver.com"