Unified http and https nginx proxy

This commit is contained in:
2021-01-01 21:05:58 +01:00
parent 38616ff702
commit b9f87ad6cb
4 changed files with 6 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{domain}}
- name: configure {{domain}}.conf
template: src=domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
template: src=roles/native-nginx-docker-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
notify: restart nginx
- name: "create /etc/mailu/"