mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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 <peter.stadler@student.uibk.ac.at>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
location /cgi-bin/luci {
|
||||
index index.html;
|
||||
include uwsgi_params;
|
||||
uwsgi_param SERVER_ADDR $server_addr;
|
||||
uwsgi_modifier1 9;
|
||||
uwsgi_pass unix:////var/run/luci-webui.socket;
|
||||
}
|
||||
location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
|
||||
include uwsgi_params;
|
||||
uwsgi_param SERVER_ADDR $server_addr;
|
||||
uwsgi_modifier1 9;
|
||||
uwsgi_pass unix:////var/run/luci-cgi_io.socket;
|
||||
}
|
||||
|
||||
location /luci-static {
|
||||
}
|
||||
Reference in New Issue
Block a user