1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 13:23:57 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Golle
c8bfe55026 nginx: adapt to changed ubus socket path
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-29 21:02:18 +02:00
Peter Stadler
34cb21a2cf nginx: set log level to crit for luci-static
Do not write errors for inexistent files to the system log.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-24 18:53:16 +02:00
Peter Stadler
2401fd6db5 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>
2020-01-28 12:24:55 +01:00
Ansuel Smith
1f0f760982
nginx: change luci dependency and fix luci nossl
Luci nginx config file for non ssl varian had user as nobody nogroup. This cause some problem with ubus use.
Luci file support package depends on uwsgi-cgi. As this package will be renamed shortly to a more generic version, make the subpackage depends on the uwsgi subpackage only.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-01 16:19:27 +01:00
Ansuel Smith
85b09eebb2
nginx: fix missing cgi-exec definition
Add missing cgi-io exec definition to fix broken
luci webui as now it does actually use it.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-12-29 01:11:26 +01:00
Ansuel Smith
980296574c
nginx: adds ubus external module
- Adds ubus module to nginx
- Select module by default
- Adds script to detect ubus module and append config for luci
- Switch all external module to xz

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-10-30 21:32:12 +01:00
Ansuel Smith
b9c7a570a2
nginx: adds new socket to luci uwsgi config
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-10-12 13:22:08 +02:00
DENG Qingfang
a33a891308 nginx: small conf files fix
Add Gzip compression type
Remove unnecessary spaces from conf files

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-08-05 02:10:05 +08:00
James Qian
9803e34512 nginx: unified indentation character and add additional config entry
The original configure file mixed tab and space
characters as indentation, so use 4 spaces as the
default indentation character.

Add /etc/nginx/conf.d/*.conf as nginx additional configure
files. Then we can add individual conf file for other http
applications without modify the main nginx configure file.

Signed-off-by: James Qian <sotux82@gmail.com>
2018-12-12 08:57:46 +08:00
Ansuel Smith
0f21ab6391
nginx: improve luci config
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-20 14:55:53 +02:00
Ansuel Smith
a12f6d57db
nginx: change default user for luci conf
Currently the nginx user for the default luci config is root... This is dangerous and unnecessary, reset it back to nobody nogroup.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-18 04:01:54 +02:00
Ansuel Smith
433e0fe771
nginx: fix bug in uci-defaults scripts
Currently the uci-defaults scripts reset nginx config even it they are valid due to a bug in the if condition.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-14 23:40:26 +02:00
Ansuel Smith
4195561666
nginx: add luci-support package
This adds an additional file for ngix that contains all the files need to make luci works on the nginx webserver.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-14 19:58:44 +02:00