infra/roles/nginx
2022-10-23 11:24:31 +02:00
..
defaults nginx role: allow to choose certbot authenticator. 2022-10-23 11:24:31 +02:00
handlers certbot: Use DNS-01 instead of HTTP so it can work on other machines. 2021-09-10 14:12:50 +02:00
tasks nginx role: allow to choose certbot authenticator. 2022-10-23 11:24:31 +02:00
templates www.afpy.org migré. 2021-11-18 08:08:04 +01:00
README.md www.afpy.org migré. 2021-11-18 08:08:04 +01:00

Nginx with Letsencrypt

This role sets up nginx with letsencrypt (using DNS-01 with Gandi API) .

Role Variables

The mandatory variables are:

  • admin_email: For letsencrypt.
  • gandi_api_key (see doc).
  • nginx_certificates: A list of domain to put in this certificate.
  • nginx_domain: Used for file names, certificate name, and default server_name if no nginx_conf is given.
  • nginx_conf: The nginx config.

Optional variables are:

Author Information

Julien Palard — https://mdk.fr