Caddyfile + docker-compose + https

Thanks for your pointers !

I think I indeed have an issue with
<domain>.com and jump.<domain>.com not resolving as I would expect

  • <domain>.com resolves to gitlab pages :white_check_mark:
DNS resolution
{
  "AD": false,
  "Additional": [],
  "Answer": [
    {
      "TTL": 287,
      "data": "35.185.44.232",
      "name": "<domain>.com.",
      "type": 1
    }
  ],
  "CD": false,
  "Question": [
    {
      "name": "<domain>.com.",
      "type": 1
    }
  ],
  "RA": true,
  "RD": true,
  "Status": 0,
  "TC": false
}
  • jump.<domain>.com resolves to my server :white_check_mark:
DNS resolution
{
  "AD": false,
  "Additional": [],
  "Answer": [
    {
      "TTL": 42,
      "data": "<server IP>",
      "name": "jump.<domain>.com.",
      "type": 1
    }
  ],
  "CD": false,
  "Question": [
    {
      "name": "jump.<domain>.com.",
      "type": 1
    }
  ],
  "RA": true,
  "RD": true,
  "Status": 0,
  "TC": false
}
  • alertmanager.jump.<domain>.com => seems to be resolving to <domain>.com subdomains ? :warning:
DNS resolution
  "AD": false,
  "Additional": [],
  "Authority": [
    {
      "TTL": 899,
      "data": "ns-774.awsdns-32.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400",
      "name": "<domain>.com.",
      "type": 6
    }
  ],
  "CD": false,
  "Comment": "Response from 2600:9000:5306:3900::1.",
  "Question": [
    {
      "name": "alertmanager.jump.<domain>.com.",
      "type": 1
    }
  ],
  "RA": true,
  "RD": true,
  "Status": 3,
  "TC": false
}

So I would need to change the DNS record for this to work (Redirect all subdomains from one domain, to the equivalent subdomain of another domain using DNS and nginx? - Webmasters Stack Exchange) , which I can’t do easily (I do not have control on the DNS records for those servers, only the actual server configuration).

Unless you have another suggestion or option ?

Thanks again @francislavoie for your help!