computer-playbook/tasks/create-domain-conf.yml

5 lines
196 B
YAML

- name: configure {{domain}}.conf
template:
src: "roles/nginx-docker-reverse-proxy/templates/domain.conf.j2"
dest: "{{nginx_servers_directory}}{{domain}}.conf"
notify: restart nginx