Skip to content

Commit cf36a3e

Browse files
committed
Change the log statement so one can easily and quickly change the global log level to DEBUG. Also change the HTTPS preload to the recommended longer value.
1 parent fe2c7ff commit cf36a3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

caddy/config/Caddyfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
storage redis {
88
host "{env.CADDY_REDIS_HOST}"
99
}
10-
log
10+
log {
11+
level INFO
12+
}
1113
}
1214

1315
(defaulthdr) {
1416
header {
15-
Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
17+
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
1618
-Server
1719
}
1820
encode zstd gzip

0 commit comments

Comments
 (0)