Skip to content

Commit

Permalink
Fixed the server url to stick to https or http depending on the kind …
Browse files Browse the repository at this point in the history
…of request
  • Loading branch information
Carlos Perelló Marín committed Mar 13, 2014
1 parent e1c01a6 commit 41af5aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/sogo/extra/zentyal-sogo.conf
Expand Up @@ -54,8 +54,10 @@ ProxyPass /sogo http://127.0.0.1:20000/SOGo
## adjust the following line:
# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"

RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"

RequestHeader set "x-webobjects-server-port" "%{SERVER_PORT}s"
RequestHeader set "x-webobjects-server-name" "%{SERVER_NAME}s"
RequestHeader set "x-webobjects-server-url" "https://%{SERVER_NAME}s" env=HTTPS
RequestHeader set "x-webobjects-server-url" "http://%{SERVER_NAME}s" env=!HTTPS
AddDefaultCharset UTF-8

Require all granted
Expand Down

0 comments on commit 41af5aa

Please sign in to comment.