--- a/contrib/provision/roles/tram-im/templates/etc/nginx/sites-available/tram-im Mon Apr 04 08:20:53 2016 +0800+++ b/contrib/provision/roles/tram-im/templates/etc/nginx/sites-available/tram-im Mon Apr 04 20:32:07 2016 +0800@@ -46,8 +46,9 @@ client_max_body_size 1M; keepalive_timeout 5; + root {{ dir }};+ location / {- root {{ dir }}; expires max; access_log off; }