Merge pull request #211 from iredmail/patch-1

Supports multiple web domains in Apache.
pull/214/head
extrafu 2016-06-13 08:18:23 -04:00 committed by GitHub
commit e4c6b83c33
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
## and do not forget to enable the headers module
<IfModule headers_module>
RequestHeader set "x-webobjects-server-port" "443"
# RequestHeader set "x-webobjects-server-name" "yourhostname"
# RequestHeader set "x-webobjects-server-url" "https://yourhostname"
RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e" env=HTTP_HOST
## When using proxy-side autentication, you need to uncomment and
## adjust the following line: