Tell nginx that symlinks are okay.

This commit is contained in:
Ralph Bean 2015-06-16 17:52:03 +00:00
parent 6e716d3ab4
commit 18e32d3601
2 changed files with 3 additions and 5 deletions

View file

@ -10,6 +10,8 @@ server {
location / {
root /home/taiga/taiga-front-dist/dist/;
try_files $uri $uri/ /index.html;
disable_symlinks off;
}
# Backend

View file

@ -172,7 +172,7 @@
### 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
notify: restart nginx
tags: taiga
@ -185,9 +185,5 @@
- seboolean: name=httpd_read_user_content state=true persistent=true
tags: taiga
- file: dest=/etc/nginx/site-enabled/default state=absent
notify: restart nginx
tags: taiga
- service: name=nginx state=running enabled=yes
tags: taiga