aboutsummaryrefslogtreecommitdiff
path: root/net/nginx
Commit message (Collapse)AuthorAge
* 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>
* nginx: update to 1.17.5Ansuel Smith2019-11-16
| | | | Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* nginx: update broken ubus moduleAnsuel Smith2019-11-11
| | | | | | Current version of ubus module have some problem with list method. Update the module to fix this problem. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* nginx: adds ubus external moduleAnsuel Smith2019-10-30
| | | | | | | | | - 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>
* nginx: update nginx-dav-ext-module to 3.0Ansuel Smith2019-10-28
| | | | Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* treewide: Use default PKG_BUILD_DIR when possibleJeffery To2019-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes lines that set PKG_BUILD_DIR when the set value is no different from the default value. Specifically, the line is removed if the assigned value is: * $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT if it is set, so now this is identical to the default value. * $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR) if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it the same as the previous case * $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) This is the same as the default PKG_BUILD_DIR when there is no BUILD_VARIANT. * $(BUILD_DIR)/[name]-$(PKG_VERSION) where [name] is a string that is identical to PKG_NAME [1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* nginx: adds new socket to luci uwsgi configAnsuel Smith2019-10-12
| | | | Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>