<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/nginx/files-luci-support, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2024-05-09T17:29:49Z</updated>
<entry>
<title>nginx: drop deprecated luci.module in module.d</title>
<updated>2024-05-09T17:29:49Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-05-09T17:29:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4c4e49064a4a9c87fc15e58af86e2ffc0a0d12dc'/>
<id>urn:sha1:4c4e49064a4a9c87fc15e58af86e2ffc0a0d12dc</id>
<content type='text'>
Since we moved to automatic loading of dynamic modules, we need to drop
the previous include luci.module or we end up with nginx failing to
start for old configurations.

Fixes: caffa410ed70 ("nginx: autoload dynamic modules")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>nginx: autoload dynamic modules</title>
<updated>2024-04-18T11:02:42Z</updated>
<author>
<name>Sean Khan</name>
</author>
<published>2024-04-12T22:05:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=caffa410ed70285a4e48333209d673759846f989'/>
<id>urn:sha1:caffa410ed70285a4e48333209d673759846f989</id>
<content type='text'>
In current setup, dynamic modules are not autoloaded, requiring users
to create and load additional config files.

We should assume that if a user installs additional modules, they want
them 'on' by default.

This commit does the following:

1.) generates a module load config in '/etc/nginx/modules.d' with the
    format '${module_name}'.module
    (i.e. /etc/nginx/modules.d/ngx_http_geoip2.module)
2.) deletes previous module conf for 'luci'
    /etc/nginx/modules.d/luci.module if it exists, this will prevent
    'module already loaded' errors.

The following is a portion of the final output when using the
default uci template `/etc/nginx/uci.conf.template` (via nginx-util):

```
nginx -T -c '/etc/nginx/uci.conf'

load_module /usr/lib/nginx/modules/ngx_http_brotli_filter_module.so;

load_module /usr/lib/nginx/modules/ngx_http_brotli_static_module.so;

load_module /usr/lib/nginx/modules/ngx_http_dav_ext_module.so;

load_module /usr/lib/nginx/modules/ngx_http_geoip2_module.so;

load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;

load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;

load_module /usr/lib/nginx/modules/ngx_http_naxsi_module.so;

load_module /usr/lib/nginx/modules/ngx_http_ts_module.so;

load_module /usr/lib/nginx/modules/ngx_http_ubus_module.so;

load_module /usr/lib/nginx/modules/ngx_rtmp_module.so;

load_module /usr/lib/nginx/modules/ngx_stream_module.so;

load_module /usr/lib/nginx/modules/ngx_stream_geoip2_module.so;
```

Signed-off-by: Sean Khan &lt;datapronix@protonmail.com&gt;
</content>
</entry>
<entry>
<title>nginx: introduce support for dynamic modules</title>
<updated>2023-04-27T04:14:57Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2021-10-08T23:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=65a676ed56fb25e41980b910c2453ea9da8773db'/>
<id>urn:sha1:65a676ed56fb25e41980b910c2453ea9da8773db</id>
<content type='text'>
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 &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>nginx: adapt to changed ubus socket path</title>
<updated>2020-10-29T19:02:18Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2020-10-22T14:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c8bfe55026efbf2b9b467a096493d07b1aa6e3b1'/>
<id>urn:sha1:c8bfe55026efbf2b9b467a096493d07b1aa6e3b1</id>
<content type='text'>
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>nginx: set log level to crit for luci-static</title>
<updated>2020-05-24T16:53:16Z</updated>
<author>
<name>Peter Stadler</name>
</author>
<published>2020-05-16T14:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=34cb21a2cf24c36fde03eb0665198e3745012193'/>
<id>urn:sha1:34cb21a2cf24c36fde03eb0665198e3745012193</id>
<content type='text'>
Do not write errors for inexistent files to the system log.

Signed-off-by: Peter Stadler &lt;peter.stadler@student.uibk.ac.at&gt;
</content>
</entry>
<entry>
<title>nginx: use /etc/nginx/nginx.conf enabling conf.d/</title>
<updated>2020-01-28T11:24:55Z</updated>
<author>
<name>Peter Stadler</name>
</author>
<published>2020-01-20T21:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2401fd6db5e582d1b1442e4832222a3fee50937a'/>
<id>urn:sha1:2401fd6db5e582d1b1442e4832222a3fee50937a</id>
<content type='text'>
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 &lt;peter.stadler@student.uibk.ac.at&gt;
</content>
</entry>
<entry>
<title>nginx: change luci dependency and fix luci nossl</title>
<updated>2020-01-01T15:19:27Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2020-01-01T15:19:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1f0f76098294945f08b9a00483d80cf84d84db57'/>
<id>urn:sha1:1f0f76098294945f08b9a00483d80cf84d84db57</id>
<content type='text'>
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 &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>nginx: fix missing cgi-exec definition</title>
<updated>2019-12-29T00:11:26Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2019-12-29T00:09:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=85b09eebb2541ceacc01dd4f353c13089d06c82c'/>
<id>urn:sha1:85b09eebb2541ceacc01dd4f353c13089d06c82c</id>
<content type='text'>
Add missing cgi-io exec definition to fix broken
luci webui as now it does actually use it.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>nginx: adds ubus external module</title>
<updated>2019-10-30T20:32:12Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2019-10-25T01:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=980296574cd4b4deb5b3491131bdae1308c10e32'/>
<id>urn:sha1:980296574cd4b4deb5b3491131bdae1308c10e32</id>
<content type='text'>
- 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 &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>nginx: adds new socket to luci uwsgi config</title>
<updated>2019-10-12T11:22:08Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2019-10-09T18:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b9c7a570a2342c65ad049e4e77e038b3f8f3b90a'/>
<id>urn:sha1:b9c7a570a2342c65ad049e4e77e038b3f8f3b90a</id>
<content type='text'>
Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
