Force Apache SSL Redirection from HTTP for iRedMail: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
m (Davidk moved page iRedMail force SSL to SSL for iRedMail force redirection without leaving a redirect)
 
(No difference)

Latest revision as of 10:04, 6 July 2016

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"