Skip to Content.
Sympa Menu

en - Re: [sympa-users] Using sympa behind pound or nginx

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Daniel Bidwell <address@concealed>
  • To: Steve Shipway <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] Using sympa behind pound or nginx
  • Date: Fri, 27 Jun 2014 00:00:24 -0400

Here is what I have.  Sympa running under nginx with the following lines in sympa.conf

http_host https://sympa.andrews.edu
domain    sympa.andrews.edu
wwsympa_url https://sympa.andrews.edu/wws

and in wwsympa.conf:

cookie_domain sympa.andrews.edu

I can log in and it shows that I am a listmaster, but when I click on Sympa_admin it takes me back to the login screen endlessly.

On Fri, 2014-06-27 at 03:34 +0000, Steve Shipway wrote:
> I have attempted to put sympa behind this service and I can log in
> successfully, but the session doesn't seem to live for me to actually do
> anything without asking me to log in again.  I have check the time on the
> servers and they are all synchronized.  I don't see anything in the debug 
> logs
> that helps me.

We don't use a reverse proxy for sympa, but I suspect your issue is going to 
be cookie domains.

For the hostname that users use, to access the sympa server, set cookie_domain 
in the wwsympa.conf or robot.conf.  We have to do this because we have many 
robot domains all pointing to the same Sympa server, and need their auth 
cookies to be kept separate.

Eg, if your sympa server is mysympa.subdom.andrews.edu
But your reverse proxy hides it as www.andrews.edu/sympa
Then set the options
cookie_domain www.andrews.edu
http_host  www.andrews.edu
host www.andrews.edu
wwsympa_url http://www.andrews.edu/sympa

Steve

Steve Shipway
address@concealed




--
Daniel R. Bidwell | address@concealed
Andrews University | Information Technology Services
If two always agree, one of them is unnecessary
Karma is getting what you deserve, mercy is not getting what you deserve,
grace is getting what you do not deserve.
"In theory, theory and practice are the same.
In practice, however, they are not."



Archive powered by MHonArc 2.6.19+.

Top of Page