Skip to content

Commit 0a7abed

Browse files
committed
wip
1 parent 95d9c0e commit 0a7abed

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Caddyfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
local_certs
33
auto_https off
44
frankenphp
5-
order php_server before file_server
6-
order php before file_server
7-
order request_header before rewrite
85
}
96

107
:8100 {
118
@static {
129
file
13-
path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff
10+
path *.avif *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.gpx
1411
}
12+
header @static Cache-Control max-age=5184000
1513
root * /var/www/html/
1614
encode br zstd gzip
1715
php_server

0 commit comments

Comments
 (0)