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