Subject: The mailing list for listmasters using Sympa
List archive
- From: Edward Kovarski <address@concealed>
- To: sympa-users <address@concealed>
- Subject: [sympa-users] nginx, Configuration Stanza
- Date: Fri, 12 Oct 2007 23:56:44 -0400
To save any future nginx users any headaches, here is a sample nginx.conf stanza which works with Sympa v5.3.3:
server {
listen 80;
server_name my.domain.org;
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;
}
location /static-sympa {
alias /usr/local/sympa/static_content;
}
}
Note that the request_uri fastcgi parameter /is/ necessary for virtual hosting.
I got bit by the documentation which said server_name is compared against http_host but after some debugging I noticed that $robot was not set in wwsympa properly unless it can match http_host against request_uri.
Ed
-
[sympa-users] nginx, Configuration Stanza,
Edward Kovarski, 10/13/2007
-
[sympa-users] Advanced nested lists,
Ward, Michael, 10/15/2007
-
[sympa-users] Re: Advanced nested lists,
David Verdin, 10/15/2007
-
[sympa-users] Re: Re: Advanced nested lists,
David Verdin, 10/15/2007
-
[sympa-users] Re: Re: Re: Advanced nested lists,
David Verdin, 10/15/2007
-
[sympa-users] RE: Re: Re: Advanced nested lists,
Ward, Michael, 10/15/2007
-
[sympa-users] Re: RE: Re: Re: Advanced nested lists,
David Verdin, 10/16/2007
- [sympa-users] RE: RE: Re: Re: Advanced nested lists, Ward, Michael, 10/16/2007
- [sympa-users] Re: RE: Re: Re: Advanced nested lists, David Verdin, 10/17/2007
-
[sympa-users] Re: RE: Re: Re: Advanced nested lists,
David Verdin, 10/16/2007
-
[sympa-users] RE: Re: Re: Advanced nested lists,
Ward, Michael, 10/15/2007
-
[sympa-users] Re: Re: Re: Advanced nested lists,
David Verdin, 10/15/2007
-
[sympa-users] Re: Re: Advanced nested lists,
David Verdin, 10/15/2007
-
[sympa-users] Re: Advanced nested lists,
David Verdin, 10/15/2007
-
[sympa-users] Advanced nested lists,
Ward, Michael, 10/15/2007
- [sympa-users] Re: nginx, Configuration Stanza, Xavier Beaudouin, 10/15/2007
- [sympa-users] Re: nginx, Configuration Stanza, David Verdin, 10/15/2007
Archive powered by MHonArc 2.6.19+.