xin

Directive reference

scgi_pass

Sends a request to an SCGI application.

Syntaxscgi_pass address | unix:path | upstream_name;
Contextslocationif in location
Defaultnone

Behavior

The target is not a URL. SCGI variables are encoded as one netstring before the body.

Example

location /app/ {
    scgi_pass 127.0.0.1:4000;
    include scgi_params;
}

Related directives

scgi_param