ADD Restores nginx proxy setup
This commit is contained in:
parent
86301a407a
commit
0caee4cb68
10
local.yml
10
local.yml
@ -16,3 +16,13 @@
|
|||||||
- lxchost
|
- lxchost
|
||||||
vars:
|
vars:
|
||||||
dominio: agofer.net
|
dominio: agofer.net
|
||||||
|
|
||||||
|
- hosts: nginx
|
||||||
|
gather_facts: yes
|
||||||
|
roles:
|
||||||
|
- nginxproxy
|
||||||
|
vars:
|
||||||
|
dominio: agofer.net
|
||||||
|
ansible_python_interpreter: python3
|
||||||
|
ansible_connection: lxd
|
||||||
|
ansible_host: local:nginx
|
||||||
|
|||||||
@ -22,9 +22,9 @@
|
|||||||
name: nginx
|
name: nginx
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
#-name: Request Let's Encrypt certificate
|
- name: Request Let's Encrypt certificate
|
||||||
# command:
|
command:
|
||||||
# cmd: 'certbot --redirect --agree-tos -m {{ email }} --hsts --nginx -n -d {{ container }}.{{ dominio }}'
|
cmd: 'certbot --redirect --agree-tos -m {{ email }} --hsts --nginx -n -d {{ container }}.{{ dominio }}'
|
||||||
|
|
||||||
# Certbot doesn't add proxy_protocol.
|
# Certbot doesn't add proxy_protocol.
|
||||||
# (https://github.com/certbot/certbot/issues/8057)
|
# (https://github.com/certbot/certbot/issues/8057)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user