aboutsummaryrefslogtreecommitdiff
path: root/net/nginx
Commit message (Collapse)AuthorAge
* nginx: create empty directory for module.d includeChristian Marangi2023-06-12
| | | | | | | | | Fix a bug on installation of nginx-mod-luci where module.d directory is not found and luci.module creation fails. Correctly create empty directory for module.d include for dynamic module loading by placing file in this directory. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: bump to new 1.25.0 releaseChristian Marangi2023-06-11
| | | | | | | | | | | Bump nginx to new 1.25.0 release. Changes: *) Feature: experimental HTTP/3 support. Every patch automatically refreshed. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: fix problem with migration of uci conf templateChristian Marangi2023-06-11
| | | | | | | | | | | | | | | | | | Fix some problem with migration of uci conf template and include of module.d directive. Fix 2 case: - uci.conf.template not versioned but with the include module.d resulting in double include module.d - uci.conf.template version 1.1 with the include module.d at the end of the config. This is problematic for nginx as modules must be included before any http directive. Handle this 2 case to restore a working uci.conf.template configuration on migrated config. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: refactor MakefileGlen Huang2023-05-26
| | | | | | | | | | | | Make modules follow a naming convention, which enables: 1. Inline ADDITIONAL_MODULES into CONFIGURE_ARGS 2. Consolidate some parts of Quilt and Download for each module into BuildModule Signed-off-by: Glen Huang <me@glenhuang.com> [ fix conflict error ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: make nginx-mod-luci depend on nginx-sslGlen Huang2023-05-26
| | | | | | | | | Change dependency from nginx virtual migration package to nginx-ssl for nginx-mod-luci nginx module package. Signed-off-by: Glen Huang <me@glenhuang.com> [ add commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: add configure flag --with-compatGlen Huang2023-05-20
| | | | | | | | Without it, nginx could complain about incompatible dynamic modules Signed-off-by: Glen Huang <me@glenhuang.com> [ fix conflict error on cherry-pick ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: introduce migration for old uci conf templateChristian Marangi2023-05-20
| | | | | | | | | | | | | | Introduce support for migration of old uci conf template to new version. Uci conf template are saved in config backup. This cause problem on config restore as old config template might have compatibility problem with new nginx implementation. Add logic to migrate the template script at runtime to correctly align to latest change from nginx and nginx-util. Fixes: 65a676ed56fb ("nginx: introduce support for dynamic modules") Fixes: #20904 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: fix compilation error for nginx-fullChristian Marangi2023-05-06
| | | | | | | | | | | | Fix compilation error for stream module not converted to use the PACKAGE config flag and a missing required dependency for the DAV ext module. Drop additional config for STREAM module since they are now included and built by default. Fixes: 65a676ed56fb ("nginx: introduce support for dynamic modules") Fixes: #20906 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: rename nginx-all-module to nginx-fullChristian Marangi2023-04-27
| | | | | | | Rename nginx-all-module to nginx-full to follow pattern used by other package and other projects. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: update to 1.24.0 and update headers-more moduleChristian Marangi2023-04-27
| | | | | | | Update nginx to 1.24.0 and update headers-more module to fix compilation error. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: update lua module to latest openresty versionChristian Marangi2023-04-27
| | | | | | | | | | Update lua module to latest openrestry version. Additional config are required to correctly use it. Switch it to luajit from liblua as this is what is currently supported for the module since plain lua support was dropped from the module. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: introduce support for dynamic modulesChristian Marangi2023-04-27
| | | | | | | | | | | | | | | | | Start building sub package that provide dynamic modules. Each module needs to be loaded using load_modules. Refer to nginx documentation on how to use this. This should result in lower memory usage as only used module are loaded. Also fix the uci-default scripts to add the required ubus module for luci module. -fvisibility=hidden is needed to be dropped to correctly support loading dynamic modules. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: split DAV_EXT from standard nginx DAV configChristian Marangi2023-04-20
| | | | | | | Split DAV_EXT from standard nginx DAV config as additional WebDAV methods are provided by an external module. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=gc-sectionsAndre Heider2023-04-08
| | | | | | | | | | | | See commit da370098 "treewide: add support for "gc-sections" in PKG_BUILD_FLAGS" on the main repository. Note: This only touches packages which use all three parts (-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by this build flag. Some packages only use a subset, and these are left unchanged for now. Signed-off-by: Andre Heider <a.heider@gmail.com>
* acme: update changed packages' versionsGlen Huang2022-10-24
| | | | Signed-off-by: Glen Huang <i@glenhuang.com>
* amce: use procd to restart servicesGlen Huang2022-10-24
| | | | | | | Directly calling `/etc/init.d/<service> reload` in a hotplug script can inadvertently start a stopped service. Signed-off-by: Glen Huang <i@glenhuang.com>
* nginx: support gzip static muduleJianhui Zhao2022-08-23
| | | | Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
* acme: use the hotplug systemGlen Huang2022-08-16
| | | | Signed-off-by: Glen Huang <heyhgl@gmail.com>
* nginx: add scgi_params if CONFIG_NGINX_HTTP_SCGI=yJavier Marcet2021-10-30
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* nginx, python3-{asgiref,django-cors-headers,drf-nested-routers,sqlparse}: ↵Peter Stadler2021-10-30
| | | | | | | | bump versions Update to the newest versions and switch to $(AUTORELEASE) for the python3 packages (where I am the maintainer). Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: bump to 1.21.1 and improve makefileAnsuel Smith2021-07-22
| | | | | | | | - Bump to 1.21.1 - Rework makefile to fix bad make refresh - Refresh patch Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* nginx: make nginx-rtmp module BigEndian friendlyJan Bubík2021-04-28
| | | | Signed-off-by: Jan Bubík <jbubik@centrum.cz>
* nginx: fix compilation with BUILD_NLSRosen Penev2021-03-06
| | | | | | Requires nls.mk because of libxml2. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* 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: update to version 1.19.4Peter Stadler2020-11-04
| | | | | | Update to newest version, changelog: https://nginx.org/en/CHANGES Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* nginx: adapt to changed ubus socket pathDaniel Golle2020-10-29
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Merge pull request #13326 from Ansuel/ngixfixallHannu Nyman2020-09-07
|\ | | | | nginx: fix broken all-module variant
| * nginx: fix broken all-module variantAnsuel Smith2020-09-07
| | | | | | | | | | | | | | | | The creation of the dummy package nginx creates some problem with dependency detection for the all-module variant. Reorganize the dependency and compile nginx before the the sub-variant. Fixes #13275 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* | nginx: update ubus module to fix SIGSEGVAnsuel Smith2020-09-07
| | | | | | | | | | | | | | | | | | | | - Bump relase - Bump nginx_ubus_module version Fixes #13314 Reported-by: Chen Minqiang <ptpt52@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* | nginx: refresh nginx-ubus-module versionAnsuel Smith2020-09-03
|/ | | | | | Fix a compilation bug for nginx ubus module. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* nginx: update to version 1.19.2Peter Stadler2020-08-22
| | | | Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: remove PROVIDES on depending packagepeter-stadler2020-07-27
| | | | | Fix recursive dependency for `make menuconfig`. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: enable ssl for all variants and remove nginx-util w/o sslPeter Stadler2020-07-25
| | | | | | | | | | | | | | | | Make the plain nginx version the same as nginx-ssl. In a further change we will replace nginx by a dummy package, depending on +nginx-ssl instead. This allows a smooth upgrade. For nginx-util leave the ssl and the ssl-nopcre versions only. For nginx-mod-luci remove the duplicate ssl version. Replace the removed packages by dummies for a smooth upgrade. The dummy packages will be removed after a transition period. Additionally, enable the http2 module for nginx-ssl by default and cleanup the nginx.init file. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: update to version 1.19.1Peter Stadler2020-07-16
| | | | | | update to newest version. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: update to version 1.19.0Peter Stadler2020-06-04
| | | | | | bump to newest version Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: set log level to crit for luci-staticPeter Stadler2020-05-24
| | | | | | Do not write errors for inexistent files to the system log. 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: update all-module configurationsHuangbin Zhan2020-04-30
| | | | | | nginx-all-module also provides nginx-ssl and shoud have configuration file uwsgi_params Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
* nginx: update to version 1.17.10 and fix bugPeter Stadler2020-04-16
| | | | | | | If one file is a hard link to another, `mv` will not overwrite it; `rm -f` the destinations beforehand. 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: update to 1.17.8DENG Qingfang2020-02-11
| | | | Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* nginx: fix endianness issue #8988Peter Stadler2020-02-04
| | | | | | Patch the auto/endianess file to use CONFIG_BIG_ENDIAN. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* 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>
* nginx: Fix brotli moduleShane Peelar2020-01-22
| | | | | | | Use official Google repository for ngx_brotli. This fixes build errors in #9776. Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
* nginx: update ubus moduleAnsuel Smith2020-01-05
| | | | | | Fix a bug in LuCI interface. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* nginx: update to 1.17.7 and use new modular uwsgi for luciPeter Stadler2020-01-01
| | | | Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* nginx: change luci dependency and fix luci nosslAnsuel Smith2020-01-01
| | | | | | | 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>
* nginx: fix missing cgi-exec definitionAnsuel Smith2019-12-29
| | | | | | | 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>