mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
magic
This commit is contained in:
parent
d21158e234
commit
12e01508a5
1 changed files with 6 additions and 0 deletions
|
|
@ -17,6 +17,12 @@
|
|||
header /blog/css/* Cache-Control "max-age=31540000, immutable"
|
||||
header /blog/fonts/* Cache-Control "max-age=31540000, immutable"
|
||||
|
||||
@txt {
|
||||
path /
|
||||
not header Accept *text/html*
|
||||
}
|
||||
rewrite @txt /index.txt
|
||||
|
||||
file_server {
|
||||
fs garage
|
||||
# TODO: run precompress script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue