infra/roles/nginx
Julien Palard 64a2738d0a
When Python changes, venv break. It should help.
2023-03-30 14:52:05 +02:00
..
defaults salt-fr: Content-Security-Policy. 2023-03-23 11:15:33 +01: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 When Python changes, venv break. It should help. 2023-03-30 14:52:05 +02:00
templates Update SSL config. 2023-01-13 17:16:49 +01:00
README.md Update SSL config. 2023-01-13 17:16:49 +01:00

README.md

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:

  • nginx_owner: If a unix user has to be created for this project.
  • nginx_path: To create a directory owned by nginx_owner.
  • certbot_authenticator: Defaults to gandi, can use nginx.

Author Information

Julien Palard — https://mdk.fr