integredete certbot and reverse proxy config
This commit is contained in:
parent
147349058e
commit
cf1936270b
@ -27,6 +27,8 @@
|
|||||||
- include_tasks: setup-Archlinux.yml
|
- include_tasks: setup-Archlinux.yml
|
||||||
when: ansible_os_family == 'Archlinux'
|
when: ansible_os_family == 'Archlinux'
|
||||||
|
|
||||||
|
- name: Ensure nginx is started and enabled to start at boot.
|
||||||
|
service: name=nginx state=started enabled=yes
|
||||||
# Vhost configuration.
|
# Vhost configuration.
|
||||||
- import_tasks: vhosts.yml
|
- import_tasks: vhosts.yml
|
||||||
|
|
||||||
@ -52,6 +54,5 @@
|
|||||||
- reload nginx
|
- reload nginx
|
||||||
when: nginx_realIP_Proxy is defined
|
when: nginx_realIP_Proxy is defined
|
||||||
|
|
||||||
- name: Ensure nginx is started and enabled to start at boot.
|
|
||||||
service: name=nginx state=started enabled=yes
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user