<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
<!--
Thank you for contributing to this project!
-->
Hello the goal of the pr is to fix the nginx order configuration for the block stream.
As the configuration sites included at the end of the the http block we will do the same for the stream, like that we can use declaration provided on the nginx.conf on stream configured.
Fixes #1551
This includes a rebase of https://github.com/voxpupuli/puppet-nginx/pull/1189. That adds a type Nginx::Duration which looks similar to Nginx::Time (added in f0bf83a1abac6c2ee7fe7257a37514319a96f0fa). We likely want to unify those, but right now I'm not sharp enough to see the exact differences.
While this isn't perfect, it's a huge step in the direction.
<!--
Thank you for contributing to this project!
-->
This change enforce the usage of the managed repository to work around the AppStream of CentOS and RedHat, which will take precedence over none module based repositories.
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
This PR adds "proxy_bind" parameter to the nginx class. If set, it generates a config entry in nginx.conf, block "http".
This defines a very minimal nginx class that is just enough to make the
os-independent tests pass:
Prior to this patch:
Finished in 15.21 seconds (files took 7.58 seconds to load)
After this patch:
Finished in 2.94 seconds (files took 7.66 seconds to load)
This PR allows setting of maphashbucket parameters
conf.d/name.acl
ACLs to server/location blocks to not repeat allow/deny
rules multiple times.acl
file) with allow/deny
rules in specific block (deny
rule will be the last)<!--
Thank you for contributing to this project!
-->
Add support to install nginx through AppStream on EL8.
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
Updated listen_port data type from Integer to Variant[String, Integer] in 'nginx::resource::server' and 'nginx::resource::streamhost' as newer versions of Nginx support port range at listen port.
Please check the release notes from 26th of March:
- http://nginx.org/en/CHANGES
- https://www.nginx.com/blog/nginx-plus-r18-released#port-ranges
```
Changes with nginx 1.15.10 26 Mar 2019
*) Change: when using a hostname in the "listen" directive nginx now
creates listening sockets for all addresses the hostname resolves to
(previously, only the first address was used).
*) Feature: port ranges in the "listen" directive.
...
```
modulesync 5.4.0
nginx manages the directory permissions on its own,
so the default value is undef
to avoid conflicts.
Related to #1443
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
Hello,
This PR adds the support of the following directives at location level
it allows to be more precise in the logging strategy.
Hope it helps.
<!--
Thank you for contributing to this project!
-->
<!--
Allow set custom uwsgi params in nginx::resource::server (location /) by exposing location::$nginx_param parameter
-->
<!--
New feature
-->
http_raw_prepend
and http_raw_append
have wrong indentation. Example with current template:
```
sslstaplingverify off;
realipheader X-Forwarded-For;
setrealip_from 1.2.3.4;
include /etc/nginx/conf.d/*.conf;
```
This MR removes 2 extra spaces.
<!--
Thank you for contributing to this project!
-->
Current default value for streamaccesslog will cause Nginx to fail to start if nginx::stream is true.
http://nginx.org/en/docs/stream/ngx_stream_log_module.html#access_log
Format must be defined, which current default configuration doesn't do (since streamcustomformat_log is undef as well).
Nginx default is "off", and therefore the Puppet-module default should be "off" as well.
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
I want to configure nginx unix socket on SSL vhost. In my case, I have listenport == sslport, selected template does not allow me to configure unix socket.
In the current implementation, apt::source stores GPG keys in the trusted.gpg file, which is no longer recommended. Additionally, with the deprecation of apt-key, running the apt update command triggers warnings on Debian-based distributions.
This PR modifies the handling of GPG keys so that they are stored in the keyrings directory, aligning with best practices and avoiding the deprecation warnings associated with apt-key
Add support for disabling "workerrlimitnofile" by checking for a value greater than zero
Fixes #1611