Skip to content

Commit 4587658

Browse files
authored
fix: Default path for stream template deployment location (#479)
1 parent ba3cba2 commit 4587658

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ FEATURES:
99

1010
BUG FIXES:
1111

12+
- Fix the default path for the stream template deployment location.
1213
- Fix incompatibility when using the `listen` directive and setting both the `quic` and `so_keepalive` parameters.
1314
- Correct cleanup error when `nginx_config_cleanup_paths` is not defined.
1415

tasks/config/template-config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@
120120
- name: Dynamically generate NGINX stream config files
121121
ansible.builtin.template:
122122
src: "{{ item['template_file'] | default('stream/default.conf.j2') }}"
123-
dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}"
123+
dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}"
124124
backup: true
125125
mode: "0644"
126126
loop: "{{ nginx_config_stream_template }}"
127127
loop_control:
128-
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}"
128+
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}"
129129
notify: (Handler - NGINX Config) Run NGINX
130130
when: nginx_config_stream_template_enable | bool

0 commit comments

Comments
 (0)