Welcome! Log In Create A New Profile

Advanced

Nginx not starting after enabling scgi

Posted by whitey 
Nginx not starting after enabling scgi
August 12, 2012 11:30PM
I'm trying to enable scgi like this:

location /RPC2 {
include scgi_params;
scgi_pass unix:/tmp/rpc.sock;
}

But I get this error when I start nginx:

$ sudo /etc/init.d/nginx start
Starting nginx: nginx: [emerg] unknown directive "scgi_param" in /etc/nginx/scgi_params:1
nginx: configuration file /etc/nginx/nginx.conf test failed

My version of nginx is:

$ nginx -v
nginx version: nginx/1.1.19

So I do have the SCGI module installed.

What gives?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 114
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready