nginx Role Enhancements #22

Merged
june merged 10 commits from nginx_role_enhancements into main 2025-02-18 04:40:08 +01:00
Showing only changes of commit 9b2ef55f86 - Show all commits

View file

@ -4,12 +4,6 @@ Makes sure the `nginx` package is installed from the NGINX repos on the specifie
Also makes sure a desirable baseline of NGINX configs is deployed on the specified hosts.
For the NGINX site configurations the config template below can be used.
## Entry Points
The entry points available for external use are:
- `main`
## Supported Distributions
The following distributions are supported:
@ -43,10 +37,6 @@ None.
Needs `nginx__use_custom_nginx_conf` to be set to true to work.
You should probably still make sure that your custom `nginx.conf` includes `/etc/nginx/conf.d/*.conf`, so that the other configuration files still work.
## `hosts`
The `hosts` for this role need to be the machines, for which you want to make sure the `nginx` package is installed from the NGINX repos and a desirable baseline of NGINX configs is deployed.
## Config Template
Here's a config template, which can be used for new NGINX site configs, which you can supply to this role using the `nginx__configurations` argument.