summaryrefslogtreecommitdiff
path: root/package/nginx/files/scgi_params
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-07-13 10:36:33 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-07-13 10:36:33 +0200
commit3574407229f50681b91f071ffdee62fdb0c589e6 (patch)
tree312ece64f54da3ba1efd0d268c8a4a0d6c815097 /package/nginx/files/scgi_params
parentc4174ebc9bf10540bbb852d993973e4b89a5eeb6 (diff)
add nginx configs working with php
Diffstat (limited to 'package/nginx/files/scgi_params')
-rw-r--r--package/nginx/files/scgi_params16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/nginx/files/scgi_params b/package/nginx/files/scgi_params
new file mode 100644
index 000000000..47348ca38
--- /dev/null
+++ b/package/nginx/files/scgi_params
@@ -0,0 +1,16 @@
+
+scgi_param REQUEST_METHOD $request_method;
+scgi_param REQUEST_URI $request_uri;
+scgi_param QUERY_STRING $query_string;
+scgi_param CONTENT_TYPE $content_type;
+
+scgi_param DOCUMENT_URI $document_uri;
+scgi_param DOCUMENT_ROOT $document_root;
+scgi_param SCGI 1;
+scgi_param SERVER_PROTOCOL $server_protocol;
+scgi_param HTTPS $https if_not_empty;
+
+scgi_param REMOTE_ADDR $remote_addr;
+scgi_param REMOTE_PORT $remote_port;
+scgi_param SERVER_PORT $server_port;
+scgi_param SERVER_NAME $server_name;