nodered: Fix nginx proxy config

This commit is contained in:
Timo Makinen 2024-12-26 14:19:46 +00:00
parent 22ef6bbc0a
commit 2153bd8452

View file

@ -68,10 +68,10 @@
- name: Copy nginx config - name: Copy nginx config
ansible.builtin.copy: ansible.builtin.copy:
dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/nodered.conf" dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/00-nodered.conf"
content: | content: |
location /nodered/ { location /nodered/ {
proxy_pass http://127.0.0.1:8012; proxy_pass http://127.0.0.1:8012/;
} }
mode: "0644" mode: "0644"
owner: root owner: root