nodered: Fix nginx proxy config
This commit is contained in:
parent
22ef6bbc0a
commit
2153bd8452
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue