aboutsummaryrefslogtreecommitdiff
path: root/net/nginx/files/nginx.conf
Commit message (Collapse)AuthorAge
* nginx: use UCI configuration provided by nginx-utilPeter Stadler2021-01-11
| | | | | | | | | | | | | | | | | | * update to version 1.19.6 * remove default configuration files and documentation as they are in the package `nginx-util`. * do not install a `/etc/nginx/nginx.conf` file. * use the dynamic `/etc/nginx/uci.conf` if the symlink (to `/var/lib/nginx/uci.conf`) is not dead after calling `nginx-util init_lan` (else try `/etc/nginx/nginx.conf`) * replace nginx package by a dummy depending on `nginx-ssl`; the dummies will be removed after a transition period. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: do not reduce max processesPeter Stadler2020-05-14
| | | | | | | | | Use the upstream value for NGX_MAX_PROCESSES (=1024) again. So it is safe to use `worker_processes auto;` (which sets it to the number of CPUs). Also use this directive in the conf instead of calculating the number in the init and passing it as argument. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: bump version and fix bugAnsuel Smith2020-03-20
| | | | | | | | This fix #11610 by increasing max client body size in nginx conf. Bump nginx to latest version. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* nginx: use /etc/nginx/nginx.conf enabling conf.d/Peter Stadler2020-01-28
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>