Opened 8 years ago
Closed 8 years ago
#1197 closed enhancement (wontfix)
update stock nginx.conf
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-package | Version: | 1.10.x |
Keywords: | configuration boilerplate | Cc: | |
uname -a: | Windows NT titan 10 Build 10292_rs1_release161220-1747 | ||
nginx -V: | configure arguments: --with-cc=cl --builddir=objs.msvc8 --with-debug --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs.msvc8/lib/pcre-8.39 --with-zlib=objs.msvc8/lib/zlib-1.2.8 --with-select_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_stub_status_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_slice_module --with-mail --with-stream --with-openssl=objs.msvc8/lib/openssl-1.0.2j --with-openssl-opt=no-asm --with-http_ssl_module --with-mail_ssl_module --with-stream_ssl_module --with-ipv6 |
Description
Two things will assist the sys admin installing ngin
1) the php boilerplate could benefit from including the $Document_root entry.
line 38: fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
2) the php boilerplate could benefit the windows users by including a comment the replace the line.
line 39: include fastcgi_param;
with
line 39: include fastcgi.conf;
Note:
See TracTickets
for help on using tickets.
Thanks for your suggestions. The goal of the example
nginx.conf
file in the nginx distribution is to demonstrate various things that can be done, not providing a configuration for a particular 3rd party software. Therefore I don't think that suggested changes improve things.