Download:
child 81:c67e1a77c996
parent 79:1696474c2f0d
80:44ce72e32818
Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:23:19 +0800
provision: set root outside of location block

1 файлов изменено, 2 вставок(+), 1 удалений(-) [+]
provision/roles/fruitbar/templates/etc/nginx/sites-available/fruitbar file | annotate | diff | comparison | revisions
--- a/provision/roles/fruitbar/templates/etc/nginx/sites-available/fruitbar Wed Apr 06 13:08:27 2016 +0800
+++ b/provision/roles/fruitbar/templates/etc/nginx/sites-available/fruitbar Wed Apr 06 13:23:19 2016 +0800
@@ -55,8 +55,9 @@
client_max_body_size 1M;
keepalive_timeout 5;
+ root /home/{{ user }}/webapps/fruitbar;
+
location /static/ {
- root /home/{{ user }}/webapps/fruitbar;
expires max;
access_log off;
}