Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Default path for stream template deployment location #479

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FEATURES:

BUG FIXES:

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

Expand Down
4 changes: 2 additions & 2 deletions tasks/config/template-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@
- name: Dynamically generate NGINX stream config files
ansible.builtin.template:
src: "{{ item['template_file'] | default('stream/default.conf.j2') }}"
dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}"
dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}"
backup: true
mode: "0644"
loop: "{{ nginx_config_stream_template }}"
loop_control:
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}"
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}"
notify: (Handler - NGINX Config) Run NGINX
when: nginx_config_stream_template_enable | bool