Optimized CDN variables during bug research

This commit is contained in:
2025-08-12 14:31:24 +02:00
parent 5d36a806ff
commit 0c4cd283c4
3 changed files with 7 additions and 4 deletions

View File

@@ -9,11 +9,10 @@
include_role:
name: srv-web-7-6-composer
vars:
domain: "{{ domains | get_domain(application_id) }}"
http_port: "{{ ports.localhost.http[application_id] }}"
- name: "generate {{domains | get_domain(application_id)}}.conf"
- name: "generate '{{ CDN_NGINX_FILE }}'"
template:
src: "nginx.conf.j2"
dest: "{{ nginx.directories.http.servers }}{{ domains | get_domain(application_id) }}.conf"
dest: "{{ nginx.directories.http.servers }}{{ CDN_NGINX_FILE }}"
notify: restart openresty