nginx: use /etc/nginx/nginx.conf enabling conf.d/
authorPeter Stadler <redacted>
Mon, 20 Jan 2020 21:49:27 +0000 (22:49 +0100)
committerPeter Stadler <redacted>
Tue, 28 Jan 2020 11:24:55 +0000 (12:24 +0100)
commit2401fd6db5e582d1b1442e4832222a3fee50937a
tree2560f50c4611bc94e0554657db551a07c1b9dde1
parentc6b4d7f367deafc428c703ce13b0ad0403502fb5
nginx: use /etc/nginx/nginx.conf enabling conf.d/

Instead of the default nginx.conf file this file is a small variant
without examples that enables the /etc/nginx/conf.d/ directory.

It will pull in all configuration files from the conf.d directory.
So, other packages can add their server parts in the conf.d directory
without modifying the main nginx.conf file (cf. #9860).

Changed also the default logging behavior:
error_log stderr; # the init forwards it to logd
access_log off;

See the updated documentation at:
https://openwrt.org/docs/guide-user/services/webserver/nginx

Signed-off-by: Peter Stadler <redacted>
net/nginx/Makefile
net/nginx/files-luci-support/60_nginx-luci-support
net/nginx/files-luci-support/70_nginx-luci-support-ssl [deleted file]
net/nginx/files-luci-support/luci.locations [moved from net/nginx/files-luci-support/luci_uwsgi.conf with 100% similarity]
net/nginx/files-luci-support/luci_nginx.conf [deleted file]
net/nginx/files-luci-support/luci_nginx_ssl.conf [deleted file]
net/nginx/files/README.sh [new file with mode: 0755]
net/nginx/files/_lan.conf [new file with mode: 0644]
net/nginx/files/_redirect2ssl.conf [new file with mode: 0644]
net/nginx/files/nginx.conf [new file with mode: 0644]
net/nginx/files/nginx.init
git clone https://git.99rst.org/PROJECT