Update wp.sh

This commit is contained in:
NewName
2024-08-17 09:48:03 +08:00
parent c82f09a1cb
commit 7ea457dba3

7
wp.sh
View File

@@ -88,13 +88,6 @@ $DOMAIN {
encode zstd gzip encode zstd gzip
php_fastcgi unix//run/php/php7.4-fpm.sock php_fastcgi unix//run/php/php7.4-fpm.sock
file_server file_server
@static {
path *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2
file
}
header @static Cache-Control "public, max-age=3153600, immutable"
header Cache-Control "public, max-age=3600"
} }
EOF EOF