Jump to content

NGINX Proxy Manager & SSL on default site

I have been using NGINX Proxy Manager (NPM) for a few years now and it works pretty seamless for the most part. I recently switched from Google Domains to Cloudflare because Google sucks (RIP Google Domains and most recently GPay).

My setup is as follows:

 

  • Cloudflare points to static IP but is proxied through cloudflare.
  • Port 80 & 443 are open on my firewall and forward to my NPM server.
  • NPM manages all sub domains correctly.
  • NPM has an origin server certificate that all sub domains use.
  • Cloudflare SSL/TLS settings are set  to Full Strict requiring an origin server certificate from NPM.

This setup works fine when the user uses a known subdomain, (ie plex.website.com). The issue I am running into is that NPM does not appear to have a way to have the "default site", site shown when NPM doesnt recognize the requested subdomain, use SSL and Cloudflare ends up throwing an "SSL handshake failed Error code 525". Does anyone know how I could get the default site to also use SSL?

 

Screenshot_20240313_161352.thumb.png.112b036a273adcf1b1a9e18528963b5e.png

Link to comment
Share on other sites

Link to post
Share on other sites

think I figured it out... just added a wildcard to the proxy hosts and it did exactly what I needed it to...

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×