Tell nginx that symlinks are okay.
This commit is contained in:
parent
6e716d3ab4
commit
18e32d3601
2 changed files with 3 additions and 5 deletions
|
@ -10,6 +10,8 @@ server {
|
||||||
location / {
|
location / {
|
||||||
root /home/taiga/taiga-front-dist/dist/;
|
root /home/taiga/taiga-front-dist/dist/;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
|
|
||||||
|
disable_symlinks off;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Backend
|
# Backend
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
|
|
||||||
### FINALLY, nginx to serve/proxy it all
|
### FINALLY, nginx to serve/proxy it all
|
||||||
|
|
||||||
- copy: src=taiga.nginx dest=/etc/nginx/conf.d/taiga
|
- copy: src=taiga.nginx dest=/etc/nginx/conf.d/taiga.conf
|
||||||
mode=0644 owner=nginx group=nginx
|
mode=0644 owner=nginx group=nginx
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
tags: taiga
|
tags: taiga
|
||||||
|
@ -185,9 +185,5 @@
|
||||||
- seboolean: name=httpd_read_user_content state=true persistent=true
|
- seboolean: name=httpd_read_user_content state=true persistent=true
|
||||||
tags: taiga
|
tags: taiga
|
||||||
|
|
||||||
- file: dest=/etc/nginx/site-enabled/default state=absent
|
|
||||||
notify: restart nginx
|
|
||||||
tags: taiga
|
|
||||||
|
|
||||||
- service: name=nginx state=running enabled=yes
|
- service: name=nginx state=running enabled=yes
|
||||||
tags: taiga
|
tags: taiga
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue