@ -41,7 +41,8 @@ The variable `http_sites` is a dictionnary of the http site managed by nginx.
http_sites:
`server_name`:
root_snippets:
- ? TODO
- ? TODO (currently, raw strings added to the config (like `location.my_location.config`)
use_certbot: bool, optionnal, indicate that the certbot role should generate this certificat.
locations:
`location`:
templates:
@ -61,6 +62,12 @@ Inside the templates, `server_name` is accessed with `{{ item.key }}`, en variab
Inside templates of a location, in addition to the variables of the server block, the variables of the location block can be accessed with `{{ location.value.varname }}`, and the value of `location` with `{{ location.key }}`.
## Recommander role
The `certbot` role is recommanded to use with this role. It generate LE certificates and has this role has a dependency.
https://gitea.auro.re/Pains-Perdus/certbot
## Copyright
Copyright 2021 Jean-Marie Mineau <histausse@protonmail.com>