now that static_version is flagshipped and hopefully implemented in most apps, let's setup it by default
This commit is contained in:
@@ -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 / {
|
||||
|
||||
Reference in New Issue
Block a user