Redirect loop on additional domains #1601

Closed
opened 2026-04-05 19:37:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bhagen55 on 4/17/2025

Hello!
I have been using Pangolin and it has been flawless with a single domain.
I tried adding two additional domains and have not been able to get them working.

I have set up a simple resource that points to a static HTML site hosted by a NGINX docker container.
If I point the resource at my first domain in "General Settings", the page loads fine. If I point it at one of my secondary domains, it gets into a redirect loop.

(redacted my domain and IP addresses)

--2025-04-16 17:46:46--  https://test.mydomain.com/
Resolving test.mydomain.com (test.mydomain.com)... 1.2.3.4, 1.2.3.4, 1:2:3:4, ...
Connecting to test.mydomain.com (test.mydomain.com)|1.2.3.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://test.mydomain.com/ [following]
--2025-04-16 17:46:46--  https://test.mydomain.com/
Reusing existing connection to test.mydomain.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://test.mydomain.com/ [following]
--2025-04-16 17:46:46--  https://test.mydomain.com/
Reusing existing connection to test.mydomain.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://test.mydomain.com/ [following]
...
continues until maximum of 20 redirects is hit

I do have Crowdsec enabled, but I don't see anything related in it's logs when I try to load the page.

I am running Pangolin v1.2.0 in a docker compose stack.
Here is the domains section of my config:

domains:
  domain1:
    base_domain: domain1.com
    cert_resolver: letsencrypt
  domain2:
    base_domain: mydomain.com
    cert_resolver: letsencrypt
  domain3:
    base_domain: mydomain2.com
    cert_resolver: letsencrypt
*Originally created by @bhagen55 on 4/17/2025* Hello! I have been using Pangolin and it has been flawless with a single domain. I tried adding two additional domains and have not been able to get them working. I have set up a simple resource that points to a static HTML site hosted by a NGINX docker container. If I point the resource at my first domain in "General Settings", the page loads fine. If I point it at one of my secondary domains, it gets into a redirect loop. (redacted my domain and IP addresses) ``` --2025-04-16 17:46:46-- https://test.mydomain.com/ Resolving test.mydomain.com (test.mydomain.com)... 1.2.3.4, 1.2.3.4, 1:2:3:4, ... Connecting to test.mydomain.com (test.mydomain.com)|1.2.3.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://test.mydomain.com/ [following] --2025-04-16 17:46:46-- https://test.mydomain.com/ Reusing existing connection to test.mydomain.com:443. HTTP request sent, awaiting response... 302 Found Location: https://test.mydomain.com/ [following] --2025-04-16 17:46:46-- https://test.mydomain.com/ Reusing existing connection to test.mydomain.com:443. HTTP request sent, awaiting response... 302 Found Location: https://test.mydomain.com/ [following] ... continues until maximum of 20 redirects is hit ``` I do have Crowdsec enabled, but I don't see anything related in it's logs when I try to load the page. I am running Pangolin v1.2.0 in a docker compose stack. Here is the domains section of my config: ``` domains: domain1: base_domain: domain1.com cert_resolver: letsencrypt domain2: base_domain: mydomain.com cert_resolver: letsencrypt domain3: base_domain: mydomain2.com cert_resolver: letsencrypt ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1601