From 3574407229f50681b91f071ffdee62fdb0c589e6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 13 Jul 2015 10:36:33 +0200 Subject: add nginx configs working with php --- package/nginx/files/scgi_params | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/nginx/files/scgi_params (limited to 'package/nginx/files/scgi_params') 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; -- cgit v1.2.3