Open taontech opened 12 months ago
{ servers { protocols h1 h2 h3 } } https://youdomain.domain:443 { tls ***@***.com encode zstd gzip log { output file /var/log/caddywww.log } header { alt-svc h3=":443", ma=2592000 } root /your/root/ file_server handle_errors { @404 { expression {http.error.status_code} == 404 } handle @404 { rewrite * /404.html file_server } } }
检测可以支持H3