I am trying to set up the mailing list software Sympa with Nginx. Under Apache, it is a FastCGI process which works like this:
<VirtualHost lists.tld.org:80>
ServerName lists.tld.org
<IfModule mod_fastcgi.c>
<Location /wws>
SetHandler fastcgi-script
</Location>
ScriptAlias /wws /usr/lib/cgi-bin/sympa/wwsympa.fcgi
</IfModule>
</VirtualHost>
The Sympa documentation does give an example for Nginx:
server {
server_name lists.tld.org;
location / {
fastcgi_pass unix:/tmp/php-cgi/php-cgi.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;
}
}
But this must be incomplete, because it gives me the "No input file specified" error. Can anyone point me in the right direction?
Thanks!