Having trouble migrating to caddyV2

I’m trying to migrate from Caddy V1 but I can’t seem to get it to work.

1. Caddy version (2.5.1):

2. How I run Caddy:

I use this config

ftl-computer-repairs.com.au, www.ftl-computer.repairs.com.au
file_server
templates
encode gzip

a. System environment:

Windows Server 2019

b. Command:

Caddy start

3. The problem I’m having:

I get HTTP ERROR 500 when trying to visit my page.

4. Error messages and/or full log output:

2022/07/05 06:44:39.437 e[34mINFOe[0m   using adjacent Caddyfile
2022/07/05 06:44:39.438 e[33mWARNe[0m   Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies    {"adapter": "caddyfile", "file": "Caddyfile", "line": 4}
2022/07/05 06:44:39.442 e[34mINFOe[0m   admin   admin endpoint started  {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["//[::1]:2019", "//127.0.0.1:2019", "//localhost:2019"]}
2022/07/05 06:44:39.442 e[34mINFOe[0m   tls.cache.maintenance   started background certificate maintenance      {"cache": "0xc00015c1c0"}
2022/07/05 06:44:39.442 e[34mINFOe[0m   http    server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
2022/07/05 06:44:39.442 e[34mINFOe[0m   http    enabling automatic HTTP->HTTPS redirects        {"server_name": "srv0"}
2022/07/05 06:44:39.443 e[34mINFOe[0m   tls     cleaning storage unit   {"description": "FileStorage:C:\\Users\\Administrator\\AppData\\Roaming\\Caddy"}
2022/07/05 06:44:39.443 e[34mINFOe[0m   http    enabling automatic TLS certificate management   {"domains": ["ftl-computer-repairs.com.au", "www.ftl-computer.repairs.com.au"]}
2022/07/05 06:44:39.444 e[34mINFOe[0m   autosaved config (load with --resume flag)      {"file": "C:\\Users\\Administrator\\AppData\\Roaming\\Caddy\\autosave.json"}
2022/07/05 06:44:39.445 e[34mINFOe[0m   serving initial configuration
2022/07/05 06:44:39.445 e[34mINFOe[0m   tls     finished cleaning storage units
Successfully started Caddy (pid=2824) - Caddy is running in the background
2022/07/05 06:44:39.455 e[34mINFOe[0m   tls.obtain      acquiring lock  {"identifier": "www.ftl-computer.repairs.com.au"}
2022/07/05 06:44:39.461 e[34mINFOe[0m   tls.obtain      lock acquired   {"identifier": "www.ftl-computer.repairs.com.au"}
2022/07/05 06:44:39.462 e[34mINFOe[0m   tls.issuance.acme       waiting on internal rate limiter        {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme-v02.api.letsencrypt.org/directory", "account": ""}
2022/07/05 06:44:39.463 e[34mINFOe[0m   tls.issuance.acme       done waiting on internal rate limiter   {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme-v02.api.letsencrypt.org/directory", "account": ""}
2022/07/05 06:44:41.334 e[34mINFOe[0m   tls.issuance.acme.acme_client   trying to solve challenge       {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "tls-alpn-01", "ca": "https://acme-v02.api.letsencrypt.org/directory"}
2022/07/05 06:44:43.244 e[31mERRORe[0m  tls.issuance.acme.acme_client   challenge failed        {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "tls-alpn-01", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}}
2022/07/05 06:44:43.244 e[31mERRORe[0m  tls.issuance.acme.acme_client   validating authorization        {"identifier": "www.ftl-computer.repairs.com.au", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}, "order": "https://acme-v02.api.letsencrypt.org/acme/order/617865126/103938462656", "attempt": 1, "max_attempts": 3}
2022/07/05 06:44:45.069 e[34mINFOe[0m   tls.issuance.acme.acme_client   trying to solve challenge       {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01", "ca": "https://acme-v02.api.letsencrypt.org/directory"}
2022/07/05 06:44:46.980 e[31mERRORe[0m  tls.issuance.acme.acme_client   challenge failed        {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}}
2022/07/05 06:44:46.981 e[31mERRORe[0m  tls.issuance.acme.acme_client   validating authorization        {"identifier": "www.ftl-computer.repairs.com.au", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}, "order": "https://acme-v02.api.letsencrypt.org/acme/order/617865126/103938471896", "attempt": 2, "max_attempts": 3}
2022/07/05 06:44:46.982 e[31mERRORe[0m  tls.obtain      could not get certificate from issuer   {"identifier": "www.ftl-computer.repairs.com.au", "issuer": "acme-v02.api.letsencrypt.org-directory", "error": "HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning"}
2022/07/05 06:44:46.983 e[33mWARNe[0m   tls.issuance.zerossl    missing email address for ZeroSSL; it is strongly recommended to set one for next time
2022/07/05 06:44:48.277 e[34mINFOe[0m   tls.issuance.zerossl    generated EAB credentials       {"key_id": "o3mD3q-D5klqS_eDZqAURw"}
2022/07/05 06:44:58.625 e[34mINFOe[0m   tls.issuance.acme       waiting on internal rate limiter        {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme.zerossl.com/v2/DV90", "account": ""}
2022/07/05 06:44:58.629 e[34mINFOe[0m   tls.issuance.acme       done waiting on internal rate limiter   {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme.zerossl.com/v2/DV90", "account": ""}
2022/07/05 06:45:06.008 e[31mERRORe[0m  http.log.error  template: /:12:4: executing "/" at <.Include>: can't evaluate field Include in type *templates.TemplateContext  {"request": {"remote_ip": "192.168.1.1", "remote_port": "22113", "proto": "HTTP/2.0", "method": "GET", "host": "ftl-computer-repairs.com.au", "uri": "/", "headers": {"Sec-Ch-Ua-Platform": ["\"Windows\""], "Upgrade-Insecure-Requests": ["1"], "Accept-Language": ["en-AU,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6"], "Cookie": [], "Cache-Control": ["max-age=0"], "Sec-Ch-Ua-Mobile": ["?0"], "Sec-Fetch-Site": ["cross-site"], "Sec-Fetch-Mode": ["navigate"], "Sec-Ch-Ua": ["\".Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\""], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"], "Sec-Fetch-User": ["?1"], "Dnt": ["1"], "Sec-Fetch-Dest": ["document"], "Accept-Encoding": ["gzip, deflate, br"]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "h2", "server_name": "ftl-computer-repairs.com.au"}}, "duration": 0.0315269, "status": 500, "err_id": "2s85hktec", "err_trace": "templates.(*Templates).executeTemplate (templates.go:372)"}
2022/07/05 06:45:12.820 e[34mINFOe[0m   tls.issuance.acme.acme_client   trying to solve challenge       {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01", "ca": "https://acme.zerossl.com/v2/DV90"}

5. What I already tried:

I’ve enabled caddy for both incoming and outgoing in the windows firewall
Made sure port forwarding was correct.

try removing gzip?

an issue relative caddy 2.5.1 + experimental_http3 + fastcgi reverse_proxy always returns 500 · Issue #4819 · caddyserver/caddy · GitHub

Wasn’t that but I just figured out, it was “templates” which I use…

It seems I might need to look into why my implementation of templates don’t work on caddyv2.

I’m just using this in my html code… not sure what the issue is.

{{.Include “analytics.html”}}
{{.Include “header.html”}}

i’m facing the same issue, but my issue pattern is encode zstd gzip → reverse_proxy → templates

yes, the error telling template, but if you try getting the output with curl -v, put them into a static html file, it may be the same 500 error. :thinking: another issue Can we make reverse proxy response available in templates · Issue #4420 · caddyserver/caddy · GitHub

btw, change the content length sometimes help :sweat_smile:

So I’ve managed to renable it but changed {{Include “analytics.html”}} to {{include “analytics.html”}}

The page loads but it doesn’t do anything. I assume because the lower case “I” means it won’t work which is why the page is loading.

The question is why does using this feature cause a 500 error.

weird 500 errors. wish it could be fixed a.s.a.p

Try enabling access logging and debug mode in your Caddyfile:

Put log at the end, and this at the beginning:

{
    debug
}

Then post the full log output.

Based on the domain validation errors in your log, I presume your DNS isn’t set up correctly and you’re not even reaching the server you think you are. :thinking:

Thanks for the reply!

My DNS goes through DuckDNS and Cloudflare and has cname flattening, not sure if that would explain it? The website does load and works without templates enabled.

Here is the full log with debug enabled.

The last error message is key (022/07/05 21:51:27.416 ERROR) as this is the page that I tried to load that has templates included but doesn’t load and has a 500 error message.

caddy start
2022/07/05 21:49:40.894 e[34mINFOe[0m   using adjacent Caddyfile
2022/07/05 21:49:40.897 e[33mWARNe[0m   Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies    {"adapter": "caddyfile", "file": "Caddyfile", "line": 2}
2022/07/05 21:49:40.902 e[34mINFOe[0m   admin   admin endpoint started  {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
2022/07/05 21:49:40.902 e[34mINFOe[0m   http    server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
2022/07/05 21:49:40.903 e[34mINFOe[0m   http    enabling automatic HTTP->HTTPS redirects        {"server_name": "srv0"}
2022/07/05 21:49:40.902 e[34mINFOe[0m   tls.cache.maintenance   started background certificate maintenance      {"cache": "0xc00045a310"}
2022/07/05 21:49:40.903 e[34mINFOe[0m   tls     cleaning storage unit   {"description": "FileStorage:C:\\Users\\Administrator\\AppData\\Roaming\\Caddy"}
2022/07/05 21:49:40.903 e[35mDEBUGe[0m  http    starting server loop    {"address": "[::]:443", "http3": false, "tls": true}
2022/07/05 21:49:40.904 e[35mDEBUGe[0m  http    starting server loop    {"address": "[::]:80", "http3": false, "tls": false}
2022/07/05 21:49:40.904 e[34mINFOe[0m   http    enabling automatic TLS certificate management   {"domains": ["ftl-computer-repairs.com.au", "www.ftl-computer.repairs.com.au"]}
2022/07/05 21:49:40.918 e[35mDEBUGe[0m  tls     loading managed certificate     {"domain": "ftl-computer-repairs.com.au", "expiration": "2022/10/03 03:35:07.000", "issuer_key": "acme-v02.api.letsencrypt.org-directory", "storage": "FileStorage:C:\\Users\\Administrator\\AppData\\Roaming\\Caddy"}
2022/07/05 21:49:40.918 e[34mINFOe[0m   tls     finished cleaning storage units
2022/07/05 21:49:40.919 e[35mDEBUGe[0m  tls.cache       added certificate to cache      {"subjects": ["ftl-computer-repairs.com.au"], "expiration": "2022/10/03 03:35:07.000", "managed": true, "issuer_key": "acme-v02.api.letsencrypt.org-directory", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5", "cache_size": 1, "cache_capacity": 10000}
2022/07/05 21:49:40.920 e[34mINFOe[0m   autosaved config (load with --resume flag)      {"file": "C:\\Users\\Administrator\\AppData\\Roaming\\Caddy\\autosave.json"}
2022/07/05 21:49:40.925 e[34mINFOe[0m   serving initial configuration
2022/07/05 21:49:40.925 e[34mINFOe[0m   tls.obtain      acquiring lock  {"identifier": "www.ftl-computer.repairs.com.au"}
Successfully started Caddy (pid=5016) - Caddy is running in the background

C:\Web Server\WebCaddyServer>2022/07/05 21:49:40.933    INFO    tls.obtain      lock acquired   {"identifier": "www.ftl-computer.repairs.com.au"}
2022/07/05 21:49:40.933 DEBUG   tls.obtain      trying issuer 1/2       {"issuer": "acme-v02.api.letsencrypt.org-directory"}
2022/07/05 21:49:40.948 INFO    tls.issuance.acme       waiting on internal rate limiter        {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme-v02.api.letsencrypt.org/directory", "account": ""}
2022/07/05 21:49:40.949 INFO    tls.issuance.acme       done waiting on internal rate limiter   {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme-v02.api.letsencrypt.org/directory", "account": ""}
2022/07/05 21:49:41.750 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "GET", "url": "https://acme-v02.api.letsencrypt.org/directory", "headers": {"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["658"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:40 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:42.015 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "HEAD", "url": "https://acme-v02.api.letsencrypt.org/acme/new-nonce", "headers": {"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Cache-Control":["public, max-age=0, no-cache"],"Date":["Tue, 05 Jul 2022 21:49:40 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0002Tl5-vTVX2-2uctGny8m2vkgkzjl36RSOTW8QSmY0E5w"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:42.320 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/new-order", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["356"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:41 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Location":["https://acme-v02.api.letsencrypt.org/acme/order/617865126/104123329256"],"Replay-Nonce":["0001tKO1WeWMiC1iJREB1E3OvudBLI2WEry9ATZiElG6MgQ"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 201}
2022/07/05 21:49:42.582 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346163356", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["815"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:41 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0002v6wDlADnyHdh6qCHKt-tmJIE8fEetodoGsjbUUC_tk4"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:42.588 DEBUG   tls.issuance.acme.acme_client   no solver configured    {"challenge_type": "dns-01"}
2022/07/05 21:49:42.589 INFO    tls.issuance.acme.acme_client   trying to solve challenge       {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01", "ca": "https://acme-v02.api.letsencrypt.org/directory"}
2022/07/05 21:49:42.845 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/127346163356/Ikau_w", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["187"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:41 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\"","<https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346163356>;rel=\"up\""],"Location":["https://acme-v02.api.letsencrypt.org/acme/chall-v3/127346163356/Ikau_w"],"Replay-Nonce":["0002BHKKb14G2epofCkBkBqUxW_Y7GvFwEUIxgks5maFHGU"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:42.852 DEBUG   tls.issuance.acme.acme_client   challenge accepted      {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01"}
2022/07/05 21:49:43.359 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346163356", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["815"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:42 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["00023qsG7bAIMdFKYTzFqjEEw_78ATyiGLrtMyLsyBWRI60"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:43.870 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346163356", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["792"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:42 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0002oB6FjYjELBOXNAtbBwLkbMQEG5Q44mXplvSdFk05XBY"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:43.873 ERROR   tls.issuance.acme.acme_client   challenge failed        {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}}
2022/07/05 21:49:43.874 ERROR   tls.issuance.acme.acme_client   validating authorization        {"identifier": "www.ftl-computer.repairs.com.au", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}, "order": "https://acme-v02.api.letsencrypt.org/acme/order/617865126/104123329256", "attempt": 1, "max_attempts": 3}
2022/07/05 21:49:45.237 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/new-order", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["356"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:44 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Location":["https://acme-v02.api.letsencrypt.org/acme/order/617865126/104123335956"],"Replay-Nonce":["0002fjxfMMqfsOb-56zh0gy_eXwJ366E40oW7jvMKEUPIlk"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 201}
2022/07/05 21:49:45.499 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346171976", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["815"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:44 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0002ut_-RITw3Qb_YEJ8jCUGYWsvQUUj9Jod_pzVFSvwoIU"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:45.503 DEBUG   tls.issuance.acme.acme_client   no solver configured    {"challenge_type": "dns-01"}
2022/07/05 21:49:45.504 INFO    tls.issuance.acme.acme_client   trying to solve challenge       {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "tls-alpn-01", "ca": "https://acme-v02.api.letsencrypt.org/directory"}
2022/07/05 21:49:45.506 DEBUG   http.stdlib     http: TLS handshake error from 127.0.0.1:51801: EOF
2022/07/05 21:49:45.760 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/127346171976/ZJGGBg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["191"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:44 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\"","<https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346171976>;rel=\"up\""],"Location":["https://acme-v02.api.letsencrypt.org/acme/chall-v3/127346171976/ZJGGBg"],"Replay-Nonce":["00010soeGjiUxE6hJnp62w2WtOJycmBIjrt_z9OTkD4sxf8"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:45.776 DEBUG   tls.issuance.acme.acme_client   challenge accepted      {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "tls-alpn-01"}
2022/07/05 21:49:46.288 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346171976", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["815"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:45 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0001NfYsZURPJsd0L16txde8pJVi_HEA-GlR0C5pLUBGUeA"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:46.798 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme-v02.api.letsencrypt.org/acme/authz-v3/127346171976", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Boulder-Requester":["617865126"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["934"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:45 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0002gIzR8l2Ez5Szrqpl1WdDWFVGFWJcQ337fTlk2gfwSP0"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]}, "status_code": 200}
2022/07/05 21:49:46.802 ERROR   tls.issuance.acme.acme_client   challenge failed        {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "tls-alpn-01", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}}
2022/07/05 21:49:46.804 ERROR   tls.issuance.acme.acme_client   validating authorization        {"identifier": "www.ftl-computer.repairs.com.au", "problem": {"type": "urn:ietf:params:acme:error:dns", "title": "", "detail": "DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning", "instance": "", "subproblems": []}, "order": "https://acme-v02.api.letsencrypt.org/acme/order/617865126/104123335956", "attempt": 2, "max_attempts": 3}
2022/07/05 21:49:46.804 ERROR   tls.obtain      could not get certificate from issuer   {"identifier": "www.ftl-computer.repairs.com.au", "issuer": "acme-v02.api.letsencrypt.org-directory", "error": "HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: SERVFAIL looking up A for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for www.ftl-computer.repairs.com.au - the domain's nameservers may be malfunctioning"}
2022/07/05 21:49:46.805 DEBUG   tls.obtain      trying issuer 2/2       {"issuer": "acme.zerossl.com-v2-DV90"}
2022/07/05 21:49:46.806 WARN    tls.issuance.zerossl    missing email address for ZeroSSL; it is strongly recommended to set one for next time
2022/07/05 21:49:48.098 INFO    tls.issuance.zerossl    generated EAB credentials       {"key_id": "RICibVlLD0M4yYm9Je_Ukg"}
2022/07/05 21:49:51.842 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "GET", "url": "https://acme.zerossl.com/v2/DV90", "headers": {"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["645"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:50 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:49:54.406 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "HEAD", "url": "https://acme.zerossl.com/v2/DV90/newNonce", "headers": {"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Type":["application/octet-stream"],"Date":["Tue, 05 Jul 2022 21:49:53 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["M9pWIRaPDnvwE6Qi0JcchcKsk86-tNAWmpWyCXUzxWQ"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:49:57.731 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newAccount", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["579"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:56 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/account/RICibVlLD0M4yYm9Je_Ukg"],"Replay-Nonce":["SDhfc1CrNlFkuOR-uBAwdHkouj3drcsEIA5eKqM94XE"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 201}
2022/07/05 21:49:57.734 INFO    tls.issuance.acme       waiting on internal rate limiter        {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme.zerossl.com/v2/DV90", "account": ""}
2022/07/05 21:49:57.740 INFO    tls.issuance.acme       done waiting on internal rate limiter   {"identifiers": ["www.ftl-computer.repairs.com.au"], "ca": "https://acme.zerossl.com/v2/DV90", "account": ""}
2022/07/05 21:50:01.006 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newOrder", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["293"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:49:59 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/lVk9b2_gnvDMmZXxPTaoJQ"],"Replay-Nonce":["kQc6VNftYDGgFLmzXaQxMzHvIoYtLl-F9QL3dKOijh4"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 201}
2022/07/05 21:50:04.290 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["461"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:03 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["6zlC5usJ5W9kQj8lM29Xe0gP-jS7IL3AEYJQubAbU1Y"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:04.300 DEBUG   tls.issuance.acme.acme_client   no solver configured    {"challenge_type": "dns-01"}
2022/07/05 21:50:04.301 INFO    tls.issuance.acme.acme_client   trying to solve challenge       {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01", "ca": "https://acme.zerossl.com/v2/DV90"}
2022/07/05 21:50:07.048 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/chall/zaq195fdNyua-yFM2F5Zrw", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["164"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:05 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\"","<https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ>;rel=\"up\""],"Replay-Nonce":["KcGH0bzzZl_VEyJyh5rsAaSy5ZOl7LiDXrCDJXNq9fA"],"Retry-After":["10"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:07.054 DEBUG   tls.issuance.acme.acme_client   challenge accepted      {"identifier": "www.ftl-computer.repairs.com.au", "challenge_type": "http-01"}
2022/07/05 21:50:10.050 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:08 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["4NqWqIFDwiR7nsS5PWLplD65fF8svB_AGf3c-NkC_Hs"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:17.840 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:16 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["70snS2zPYo81SLsxsBXBm09Sp-DcgNi9s2ialAr66L4"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:25.624 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:24 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["9vD4pmuc7Dz6t0z47aV1sOCV7tL2yd6CY2msca40PGc"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:26.029 DEBUG   tls.handshake   choosing certificate    {"identifier": "ftl-computer-repairs.com.au", "num_choices": 1}
2022/07/05 21:50:26.030 DEBUG   tls.handshake   default certificate selection results   {"identifier": "ftl-computer-repairs.com.au", "subjects": ["ftl-computer-repairs.com.au"], "managed": true, "issuer_key": "acme-v02.api.letsencrypt.org-directory", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5"}
2022/07/05 21:50:26.030 DEBUG   tls.handshake   matched certificate in cache    {"subjects": ["ftl-computer-repairs.com.au"], "managed": true, "expiration": "2022/10/03 03:35:07.000", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5"}
2022/07/05 21:50:26.248 DEBUG   tls.handshake   choosing certificate    {"identifier": "ftl-computer-repairs.com.au", "num_choices": 1}
2022/07/05 21:50:26.248 DEBUG   tls.handshake   default certificate selection results   {"identifier": "ftl-computer-repairs.com.au", "subjects": ["ftl-computer-repairs.com.au"], "managed": true, "issuer_key": "acme-v02.api.letsencrypt.org-directory", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5"}
2022/07/05 21:50:26.249 DEBUG   tls.handshake   matched certificate in cache    {"subjects": ["ftl-computer-repairs.com.au"], "managed": true, "expiration": "2022/10/03 03:35:07.000", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5"}
2022/07/05 21:50:26.307 DEBUG   http.handlers.file_server       sanitized path join     {"site_root": ".", "request_path": "/", "result": "."}
2022/07/05 21:50:26.308 DEBUG   http.handlers.file_server       located index file      {"filename": "index.html"}
2022/07/05 21:50:26.308 DEBUG   http.handlers.file_server       opening file    {"filename": "index.html"}
2022/07/05 21:50:26.343 INFO    http.log.access handled request {"request": {"remote_ip": "139.59.173.249", "remote_port": "42740", "proto": "HTTP/1.1", "method": "GET", "host": "ftl-computer-repairs.com.au", "uri": "/", "headers": {"User-Agent": ["Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"], "Accept-Language": ["en-US,en;q=0.8"], "Referer": ["https://ftl-computer-repairs.com.au"], "Accept-Encoding": [""], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"], "Accept-Charset": ["ISO-8859-1,UTF-8;q=0.7,*;q=0.7"], "Connection": ["close"], "Cache-Control": ["no-cache"]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "", "server_name": "ftl-computer-repairs.com.au"}}, "user_id": "", "duration": 0.0455169, "size": 28855, "status": 200, "resp_headers": {"Content-Type": ["text/html; charset=utf-8"], "Content-Length": ["28855"], "Server": ["Caddy"]}}
2022/07/05 21:50:26.358 DEBUG   http.handlers.file_server       sanitized path join     {"site_root": ".", "request_path": "/", "result": "."}
2022/07/05 21:50:26.358 DEBUG   http.handlers.file_server       located index file      {"filename": "index.html"}
2022/07/05 21:50:26.358 DEBUG   http.handlers.file_server       opening file    {"filename": "index.html"}
2022/07/05 21:50:26.360 INFO    http.log.access handled request {"request": {"remote_ip": "128.199.195.156", "remote_port": "59902", "proto": "HTTP/1.1", "method": "GET", "host": "ftl-computer-repairs.com.au", "uri": "/", "headers": {"User-Agent": ["Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"], "Accept-Charset": ["ISO-8859-1,UTF-8;q=0.7,*;q=0.7"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"], "Accept-Language": ["en-US,en;q=0.8"], "Connection": ["close"], "Cache-Control": ["no-cache"], "Referer": ["https://ftl-computer-repairs.com.au"], "Accept-Encoding": [""]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "", "server_name": "ftl-computer-repairs.com.au"}}, "user_id": "", "duration": 0.0139916, "size": 28855, "status": 200, "resp_headers": {"Content-Type": ["text/html; charset=utf-8"], "Content-Length": ["28855"], "Server": ["Caddy"]}}
2022/07/05 21:50:33.624 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:32 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["fCxATivRi5eLD4XyaG5ZnxaxJtliOhItty8eL3frOeQ"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:42.091 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:41 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["4dD-JVKnWTvxXIVaoWn5jEPQIZuwpP6W8kFYvmJq6eM"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:50.086 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:49 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["tY-hveVZ4K4WZExD8LxF3NOrN9wFqOqiPil9zB5uF5g"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:50:57.904 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:50:56 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["UA9HuzmnPxGceNb6e_4JJZcUCDOH-5zx42iHonRD_qw"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:51:03.413 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:03.414 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors

Part 2:

{"sni": ""}
2022/07/05 21:51:03.415 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:35877", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:03.416 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:35877: no certificate available for '192.168.1.116'
2022/07/05 21:51:05.867 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:51:04 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["kLrN0jqSk77Chjzsh4sWiJTYEWpAn46jg6SGfj9JtBw"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:51:08.014 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:08.015 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:08.015 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:56097", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:08.016 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:56097: no certificate available for '192.168.1.116'
2022/07/05 21:51:08.804 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:08.805 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:08.806 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:58453", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:08.806 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:58453: no certificate available for '192.168.1.116'
2022/07/05 21:51:09.596 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:09.596 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:09.598 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:44973", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:09.598 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:44973: no certificate available for '192.168.1.116'
2022/07/05 21:51:10.386 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:10.387 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:10.387 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:34825", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:10.388 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:34825: no certificate available for '192.168.1.116'
2022/07/05 21:51:11.184 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:11.185 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:11.185 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:37473", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:11.186 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:37473: no certificate available for '192.168.1.116'
2022/07/05 21:51:11.982 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:11.982 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:11.982 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:36755", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:11.983 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:36755: no certificate available for '192.168.1.116'
2022/07/05 21:51:13.788 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:13.788 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:13.789 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:40745", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:13.789 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:40745: no certificate available for '192.168.1.116'
2022/07/05 21:51:14.593 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:14.593 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:14.593 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:49167", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:14.594 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:49167: no certificate available for '192.168.1.116'
2022/07/05 21:51:15.111 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:51:14 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["p59vYCwb5NCOgMRWWSX8xPQ9sBW0i3NFZYSx7Cy8y7o"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:51:15.396 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:15.397 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:15.397 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:46369", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:15.398 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:46369: no certificate available for '192.168.1.116'
2022/07/05 21:51:16.188 DEBUG   tls.handshake   no matching certificates and no custom selection logic  {"identifier": "192.168.1.116"}
2022/07/05 21:51:16.188 DEBUG   tls.handshake   all external certificate managers yielded no certificates and no errors
{"sni": ""}
2022/07/05 21:51:16.189 DEBUG   tls.handshake   no certificate matching TLS ClientHello {"server_name": "", "remote": "64.225.5.172:35739", "identifier": "192.168.1.116", "cipher_suites": [49195, 49199, 49196, 49200, 52393, 52392, 49161, 49171, 49162, 49172, 156, 157, 47, 53, 49170, 10, 4865, 4866, 4867], "cert_cache_fill": 0.0001, "load_if_necessary": true, "obtain_if_necessary": true, "on_demand": false}
2022/07/05 21:51:16.189 DEBUG   http.stdlib     http: TLS handshake error from 64.225.5.172:35739: no certificate available for '192.168.1.116'
2022/07/05 21:51:22.566 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:51:21 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["kdBVZLVmcfPLuGDwWsFo50HzVKd8TFUZcodc6rwIZUg"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}
2022/07/05 21:51:23.363 DEBUG   tls.handshake   choosing certificate    {"identifier": "ftl-computer-repairs.com.au", "num_choices": 1}
2022/07/05 21:51:23.363 DEBUG   tls.handshake   default certificate selection results   {"identifier": "ftl-computer-repairs.com.au", "subjects": ["ftl-computer-repairs.com.au"], "managed": true, "issuer_key": "acme-v02.api.letsencrypt.org-directory", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5"}
2022/07/05 21:51:23.364 DEBUG   tls.handshake   matched certificate in cache    {"subjects": ["ftl-computer-repairs.com.au"], "managed": true, "expiration": "2022/10/03 03:35:07.000", "hash": "567b14f7a2360c8ae7fc4562714898c9eedbc6a93427657e8a8ad778b37a83e5"}
2022/07/05 21:51:23.367 DEBUG   http.handlers.file_server       sanitized path join     {"site_root": ".", "request_path": "/", "result": "."}
2022/07/05 21:51:23.367 DEBUG   http.handlers.file_server       located index file      {"filename": "index.html"}
2022/07/05 21:51:23.368 DEBUG   http.handlers.file_server       opening file    {"filename": "index.html"}
2022/07/05 21:51:23.369 INFO    http.log.access handled request {"request": {"remote_ip": "192.168.1.1", "remote_port": "50119", "proto": "HTTP/2.0", "method": "GET", "host": "ftl-computer-repairs.com.au", "uri": "/", "headers": {"Sec-Fetch-Mode": ["navigate"], "Sec-Fetch-User": ["?1"], "Upgrade-Insecure-Requests": ["1"], "Sec-Fetch-Dest": ["document"], "Accept-Language": ["en-AU,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6"], "Cookie": [], "Sec-Ch-Ua-Platform": ["\"Windows\""], "Dnt": ["1"], "Sec-Fetch-Site": ["none"], "Sec-Ch-Ua": ["\".Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\""], "Sec-Ch-Ua-Mobile": ["?0"], "Accept-Encoding": ["gzip, deflate, br"], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "h2", "server_name": "ftl-computer-repairs.com.au"}}, "user_id": "", "duration": 0.0021727, "size": 28855, "status": 200, "resp_headers": {"Content-Length": ["28855"], "Server": ["Caddy"], "Content-Type": ["text/html; charset=utf-8"]}}
2022/07/05 21:51:27.414 DEBUG   http.handlers.file_server       sanitized path join     {"site_root": ".", "request_path": "/computer-repair-aspley/", "result": "computer-repair-aspley\\"}
2022/07/05 21:51:27.415 DEBUG   http.handlers.file_server       located index file      {"filename": "computer-repair-aspley\\index.html"}
2022/07/05 21:51:27.415 DEBUG   http.handlers.file_server       opening file    {"filename": "computer-repair-aspley\\index.html"}
2022/07/05 21:51:27.416 ERROR   http.log.error  template: /computer-repair-aspley/:11:4: executing "/computer-repair-aspley/" at <.Include>: can't evaluate field Include in type *templates.TemplateContext    {"request": {"remote_ip": "192.168.1.1", "remote_port": "50119", "proto": "HTTP/2.0", "method": "GET", "host": "ftl-computer-repairs.com.au", "uri": "/computer-repair-aspley/", "headers": {"Dnt": ["1"], "Accept-Encoding": ["gzip, deflate, br"], "Cookie": [], "Sec-Ch-Ua": ["\".Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\""], "Sec-Fetch-Mode": ["navigate"], "Referer": ["https://ftl-computer-repairs.com.au/"], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"], "Sec-Fetch-Dest": ["document"], "Sec-Fetch-Site": ["same-origin"], "Sec-Fetch-User": ["?1"], "Accept-Language": ["en-AU,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6"], "Sec-Ch-Ua-Mobile": ["?0"], "Sec-Ch-Ua-Platform": ["\"Windows\""], "Upgrade-Insecure-Requests": ["1"]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "h2", "server_name": "ftl-computer-repairs.com.au"}}, "duration": 0.0016971, "status": 500, "err_id": "8wn379hek", "err_trace": "templates.(*Templates).executeTemplate (templates.go:372)"}
2022/07/05 21:51:27.417 ERROR   http.log.access handled request {"request": {"remote_ip": "192.168.1.1", "remote_port": "50119", "proto": "HTTP/2.0", "method": "GET", "host": "ftl-computer-repairs.com.au", "uri": "/computer-repair-aspley/", "headers": {"Sec-Ch-Ua": ["\".Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\""], "Sec-Fetch-Mode": ["navigate"], "Referer": ["https://ftl-computer-repairs.com.au/"], "Cookie": [], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"], "Sec-Fetch-Dest": ["document"], "Sec-Ch-Ua-Mobile": ["?0"], "Sec-Ch-Ua-Platform": ["\"Windows\""], "Upgrade-Insecure-Requests": ["1"], "Sec-Fetch-Site": ["same-origin"], "Sec-Fetch-User": ["?1"], "Accept-Language": ["en-AU,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6"], "Dnt": ["1"], "Accept-Encoding": ["gzip, deflate, br"]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "h2", "server_name": "ftl-computer-repairs.com.au"}}, "user_id": "", "duration": 0.0016971, "size": 0, "status": 500, "resp_headers": {"Content-Length": ["7540"], "Server": ["Caddy"], "Etag": ["\"qazkis5tg\""], "Content-Type": ["text/html; charset=utf-8"], "Last-Modified": ["Wed, 27 May 2020 10:44:52 GMT"], "Accept-Ranges": ["bytes"]}}
2022/07/05 21:51:30.750 DEBUG   tls.issuance.acme.acme_client   http request    {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/f9z7CJy5AcqVSVvH2biZUQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.1 CertMagic acmez (windows; amd64)"]}, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["464"],"Content-Type":["application/json"],"Date":["Tue, 05 Jul 2022 21:51:29 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["WTYnNY-NK_wbiShUbEaJanCzTJiaQ8v2gMfdTk28VFU"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}, "status_code": 200}

Update: It seems I’ve fixed it but I have no idea how.

I’m just setting them to {{include “header.html”}}, however before this wasn’t working but now it is…

Basically removing the dot from {{. and changing it to a small i.

Changing everything now and will see how it goes.

Edit: Can confirm changing all html files with the above changes fixes everything… very strange that this fix is now working.

Yes, the correct syntax is {{include "file.html"}} as per the docs: Modules - Caddy Documentation

Glad you got it working!

This topic was automatically closed after 30 days. New replies are no longer allowed.