Removed bugs and implemented new server config structure

This commit is contained in:
2023-12-12 12:32:35 +01:00
parent cac9e6e1c8
commit b1e71e3875
25 changed files with 66 additions and 39 deletions

View File

@@ -8,13 +8,13 @@
- name: configure {{domain}}.conf
template:
src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
dest: /etc/nginx/conf.d/{{domain}}.conf
dest: "{{nginx_servers_directory}}{{domain}}.conf"
notify: restart nginx
#- name: configure {{ mail_interface_domain }}.conf
# template:
# src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
# dest: /etc/nginx/conf.d/{{ mail_interface_domain }}.conf
# dest: {{nginx_servers_directory}}{{ mail_interface_domain }}.conf
# vars:
# http_port: "{{ mail_interface_http_port }}"
# domain: "{{ mail_interface_domain }}"