feat: Add nginx-proxy role for nginx and certbot

This commit is contained in:
gemini
2026-03-01 22:23:38 +01:00
parent 90cbc8813c
commit e3dcd0158c
9 changed files with 241 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
---
- name: Create Nginx vhost configurations
ansible.builtin.template:
src: nginx-vhost.conf.j2
dest: "/etc/nginx/conf.d/{{ item.key }}.conf"
owner: root
group: root
mode: '0644'
loop: "{{ servernames | dict2items }}"
notify: Restart Nginx