Josh
Josh
CDCloudflare Developers
Created by Josh on 12/16/2024 in #general-help
504's, 525's, can't get past some access issues
I've just migrated a whole bunch of stuff to a new server, and the domain to access them goes through Cloudflare. Behind Cloudflare is an Nginx Proxy Manager instance, which has LE certificates configured for each subdomain. My router is configured appropriately to forward all requests on associated ports to the correct destination. I am currently seeing a 504 gateway timeout when requesting one subdomain, but not a different one. Both are configured seemingly identically. My questions are... 1. Is there some sort of issue with LE certs behind CF? I would expect there may be if requests are passing through Cloudflare. 2. Is there anything specific required for subdomain configuration? I've tried adding explicit records for the subdomain, as well as using a wildcard, but neither seems to be overly happy. 3. Is there anything obvious that stands out to someone more experienced than I?
42 replies
CDCloudflare Developers
Created by Josh on 11/25/2024 in #general-help
Enabled Cloudflare today, redirect issues on multiple applications
So I run a series of webapps on e.g abc.example.com, def.example.com, and so on. One such application is working fine, but the rest are all giving too many redirect errors. The URL at each hop of the redirect is identical, so I'm not really sure what's going on. Logs as follows
--2024-11-25 16:40:33-- https://redacted_url/
Resolving redacted_url (redacted_url)... presumably cloudflare ip addresses
Connecting to redacted_url (redacted_url)|maybe another cloudflare ip address|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://redacted_url/ [following]
--2024-11-25 16:40:33-- https://redacted_url/
Reusing existing connection to redacted_url
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://redacted_url/ [following]
--2024-11-25 16:40:33-- https://redacted_url/
Reusing existing connection to redacted_url
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://redacted_url/ [following]
--2024-11-25 16:40:33-- https://redacted_url/
Resolving redacted_url (redacted_url)... presumably cloudflare ip addresses
Connecting to redacted_url (redacted_url)|maybe another cloudflare ip address|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://redacted_url/ [following]
--2024-11-25 16:40:33-- https://redacted_url/
Reusing existing connection to redacted_url
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://redacted_url/ [following]
--2024-11-25 16:40:33-- https://redacted_url/
Reusing existing connection to redacted_url
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://redacted_url/ [following]
Is there something obvious that I've forgotten to do? I've not specifically added DNS rules for each of the subdomains, only the main domain. I've retroactively added them incase it mattered, but no dice yet (pending DNS propagation, though), and they all point to the same IP which does its own sorting in an RP. Apologies if DNS is the wrong tag for this, pretty new here.
6 replies