mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
nginx - group proxypass to apache together
This commit is contained in:
parent
2833bb1654
commit
4047894ab6
17 changed files with 50 additions and 55 deletions
|
@ -171,15 +171,6 @@
|
|||
mode: 0666
|
||||
when: nodered_install | bool
|
||||
|
||||
- name: Install nginx's conf.d file from template
|
||||
template:
|
||||
src: nodered-nginx.conf.j2
|
||||
dest: /etc/nginx/conf.d/nodered-nginx.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0666
|
||||
when: nodered_install | bool
|
||||
|
||||
- name: Create symlink nodered.conf from sites-enabled to sites-available, for short URL http://box/nodered (if nodered_enabled)
|
||||
file:
|
||||
src: /etc/apache2/sites-available/nodered.conf
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
location /nodered {
|
||||
proxy_pass http://127.0.0.1:{{ apache_port }}/nodered;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue