fix: nginx defaults override on archlinux
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
state: started
|
||||
when: acme_email is defined
|
||||
|
||||
- name: Remove default nginx vhost (Arch ships one that conflicts)
|
||||
ansible.builtin.file:
|
||||
path: "{{ nginx_conf_dir }}/default.conf"
|
||||
state: absent
|
||||
notify: Reload nginx
|
||||
|
||||
- name: Ensure nginx conf.d directory exists
|
||||
ansible.builtin.file:
|
||||
path: "{{ nginx_conf_dir }}"
|
||||
|
||||
Reference in New Issue
Block a user