View Issue Details

IDProjectCategoryView StatusLast Update
0003994SOGoGUIpublic2017-05-18 11:14
ReporterJanoschDeurer Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version3.2.5 
Summary0003994: "Links to Calendar" shows no https behind proxy
Description

I set up sogo behind a reverse proxy which handles https. Everything works fine and is available via https. The links that are given in the frontend start however with http instead of https. I could not find any option to configure this. If this is not a bug but a misconfiguration, it would still be great to add this case in the documentation as this is a common usecase.

Your documentation is really great :) I hope I did not just overlook it.

Steps To Reproduce

Setup sogo behind a proxy which handles https. Click on a Calender in the frontend, click on "Links to this Calendar", look at the links.

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2017-02-07 14:04

developer   ~0011278

In our Apache reverse Proxy we have set something like:

<Proxy http://sogo-backend.example.org:20000/SOGo>

adjust the following to your configuration

RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "sogo.example.org"
RequestHeader set "x-webobjects-server-url" "https://sogo.example.org&quot;
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" "%{SENDER_IP_ADDRESS}e"

....
</Proxy>

JanoschDeurer

JanoschDeurer

2017-05-18 11:13

reporter   ~0011811

Thanks for the tip and sorry for the late response. I didn't find the time to investigate this further till now. I'm using Nginx and use the proxy only for forwarding and do the actual config in a differen Nginx that only handles the requests for Sogo. In this Nginx i had to set:
proxy_set_header x-webobjects-server-url https://$host;

This fixed my problem :)

Issue History

Date Modified Username Field Change
2017-01-16 14:30 JanoschDeurer New Issue
2017-02-07 14:04 Christian Mack Note Added: 0011278
2017-05-18 11:13 JanoschDeurer Note Added: 0011811
2017-05-18 11:14 ludovic Status new => closed
2017-05-18 11:14 ludovic Assigned To => ludovic
2017-05-18 11:14 ludovic Resolution open => no change required