now that static_version is flagshipped and hopefully implemented in most apps, let's setup it by default

This commit is contained in:
niphlod
2014-03-17 21:32:42 +01:00
parent 2802e29945
commit 9a8231f675
8 changed files with 54 additions and 49 deletions
+3 -3
View File
@@ -80,9 +80,9 @@ http {
root /var/www/localhost/html;
}
location ^/(.*)/static/(.*) {
alias $web2pyroot/applications/$1/static/$2;
location ~* ^/(\w+)/static(?:/_[\d]+\.[\d]+\.[\d]+)?/(.*)$ {
alias $web2pyroot/applications/$1/static/$2;
expires max;
}
location / {