Skip to Content.
Sympa Menu

en - [sympa-users] nginx with sympa (was RE: possible perl-AuthCAS or Sympa bug?)

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Aaron Bennett <address@concealed>
  • To: David Verdin <address@concealed>, "address@concealed" <address@concealed>
  • Subject: [sympa-users] nginx with sympa (was RE: possible perl-AuthCAS or Sympa bug?)
  • Date: Thu, 20 Mar 2014 20:37:55 +0000

From: address@concealed
[mailto:address@concealed] On Behalf Of David Verdin
Sent: Thursday, March 20, 2014 1:08 PM
To: address@concealed
Subject: Re: [sympa-users] possible perl-AuthCAS or Sympa bug?

>Hi,
>Sorry, I was completely off-topic in my previous message...
>s this your full auth.conf? Nothing else?
>Do you have anything with "http://"; in wwsympa.conf ?

Hi,

I figured it out by adding debugging statements to wwsympa.fcgi and tracing
it... the problem is that nginx doesn't provide the full $ENV variables that
apache does by default -- you have to enable the ones you need. In case
anyone else has this problem with nginx, here's what I needed to put in
sympa.conf in /etc/nginx/conf.d:

The sympa.conf supplied in the sympa-nginx-6.1.19-1.20140206.RHEL6.x86_64
(from the sympa.ja.org repo) has this stanza:

location / {
fastcgi_pass unix:/var/run/sympa/wwsympa.socket;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param SERVER_NAME $server_name;
# I needed to add these two lines:
fastcgi_param HTTPS 'on';
fastcgi_param SERVER_PORT '443';
}

That took care of the problem.

Thanks for your help,

Aaron


---
Aaron Bennett
Manager of Systems Administration
Clark University ITS
W:508.793.7315






  • [sympa-users] nginx with sympa (was RE: possible perl-AuthCAS or Sympa bug?), Aaron Bennett, 03/20/2014

Archive powered by MHonArc 2.6.19+.

Top of Page