Tweak sample nginx conf
parent
e16dbf03e7
commit
372851caaf
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
# [...]
|
# [...]
|
||||||
|
|
Loading…
Reference in New Issue