mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: add compression by default
This commit is contained in:
1 file changed
+1
@@ -164,6 +164,7 @@ const Caddyfile = `\
|
|||||||
# 请注意在防火墙/安全组中放行端口,且部分运营商会拦截未经备案的域名。
|
# 请注意在防火墙/安全组中放行端口,且部分运营商会拦截未经备案的域名。
|
||||||
# For more information, refer to caddy v2 documentation.
|
# For more information, refer to caddy v2 documentation.
|
||||||
:80 {
|
:80 {
|
||||||
|
encode zstd gzip
|
||||||
log {
|
log {
|
||||||
output file /data/access.log {
|
output file /data/access.log {
|
||||||
roll_size 1gb
|
roll_size 1gb
|
||||||
|
|||||||
Reference in new issue
Block a user