source: nginx/conf/fastcgi_params

Last change on this file was 6168:62869a9b2e7d, checked in by Maxim Dounin <mdounin@…>, 5 years ago

Added the REQUEST_SCHEME parameter.

The REQUEST_SCHEME parameter was introduced in Apache 2.3.11 and seems
to be used by some scripts now. It looks more logical than previously
used HTTPS.

File size: 1007 bytes
Line 
1
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;
Note: See TracBrowser for help on using the repository browser.