fix: nginx defaults override on archlinux

This commit is contained in:
Clément Désiles
2026-05-05 22:56:08 +02:00
parent 488be1280c
commit 4ac40b9898
2 changed files with 6 additions and 41 deletions
+6
View File
@@ -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 }}"