Tweak sample nginx conf
This commit is contained in:
@@ -153,6 +153,7 @@ server {
|
|||||||
# path for static files
|
# path for static files
|
||||||
rewrite ^/static/(.*) /$1 break;
|
rewrite ^/static/(.*) /$1 break;
|
||||||
root /path/to/your-domain.tld/app/static/;
|
root /path/to/your-domain.tld/app/static/;
|
||||||
|
expires 1y;
|
||||||
}
|
}
|
||||||
|
|
||||||
# [...]
|
# [...]
|
||||||
|
Reference in New Issue
Block a user