Directive reference
scgi_pass
Sends a request to an SCGI application.
| Syntax | scgi_pass address | unix:path | upstream_name; |
|---|---|
| Contexts | locationif in location |
| Default | none |
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