blob: 091738c60381b378628c6a58f82462aa72be30a0 [file] [log] [blame]
Sergio Slobodrianff52e1b2017-04-24 12:39:08 -04001
2fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
3fastcgi_param QUERY_STRING $query_string;
4fastcgi_param REQUEST_METHOD $request_method;
5fastcgi_param CONTENT_TYPE $content_type;
6fastcgi_param CONTENT_LENGTH $content_length;
7
8fastcgi_param SCRIPT_NAME $fastcgi_script_name;
9fastcgi_param REQUEST_URI $request_uri;
10fastcgi_param DOCUMENT_URI $document_uri;
11fastcgi_param DOCUMENT_ROOT $document_root;
12fastcgi_param SERVER_PROTOCOL $server_protocol;
13fastcgi_param REQUEST_SCHEME $scheme;
14fastcgi_param HTTPS $https if_not_empty;
15
16fastcgi_param GATEWAY_INTERFACE CGI/1.1;
17fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
18
19fastcgi_param REMOTE_ADDR $remote_addr;
20fastcgi_param REMOTE_PORT $remote_port;
21fastcgi_param SERVER_ADDR $server_addr;
22fastcgi_param SERVER_PORT $server_port;
23fastcgi_param SERVER_NAME $server_name;
24
25# PHP only, required if PHP was built with --enable-force-cgi-redirect
26fastcgi_param REDIRECT_STATUS 200;