mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Tweak sample nginx conf
This commit is contained in:
parent
e16dbf03e7
commit
372851caaf
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue