Nginx proxy manager reddit / selfhosted ---------------------------------------------------------------------- Beistmaster · 2023-11-04 14:05 Hello, there is a problem with my nginx proxy manager, I have a domain name, cloudflare is working, got ssl certificate from cloudflare and putted it on my server. When I try to go to my root domain, I get the error, that my ssl is invalid(526 error) ssl is configured to full in cloudflare dashboard. Theres interesting part, when I make proxy host, for example jellyfin and reddirect it to subdomain, everything works fine, and another fun part is I cant event access my nginx proxy manager through https on local network. My ports are open on my router, on the server theres firewall rules for http and https too, any suggestions? ---------------------------------------------------------------------- _WarDogs_ · 2023-11-04 14:31 Try this https://www.clickssl.net/blog/error-526-invalid-ssl-certificate ---------------------------------------------------------------------- thekrautboy · 2023-11-04 14:41 Why not ask /r/NginxProxyManager instead? ---------------------------------------------------------------------- NaZGuL_of_Mordor · 2023-11-04 14:45 Did you try setting the SSL rule on Cloudflare from "FULL" to "FLEXIBLE"? ---------------------------------------------------------------------- Beistmaster · 2023-11-04 14:45 Yeah, same error ---------------------------------------------------------------------- Beistmaster · 2023-11-04 14:52 Thanks, asked there ---------------------------------------------------------------------- LavaCreeperBOSSB · 2023-11-04 14:55 Try making the SSL certificate with Nginx Proxy Manager itself. ---------------------------------------------------------------------- arcadianarcadian · 2023-11-04 15:46 \- Choose "Full" at Cloudflare SSL settings, \- Create LE certificate on NPM or custom for the certificate pair you already have. (I use wildcard certificate; \*.example.com for everything) ---------------------------------------------------------------------- Beistmaster · 2023-11-04 15:50 Choose full, no difference, my ssl is for example.com and *.example.com from cloudflare, will try to do letsencrypt ---------------------------------------------------------------------- LNDN91 · 2023-11-04 16:59 You didn't upload and set any certificate inside nginx itself. Upload the root cert from cloudflare and set it for each proxy you setup. ---------------------------------------------------------------------- Beistmaster · 2023-11-04 17:09 Its done through web url, uploaded ssl cert with key. Nginx must show up at default domain, but it goes with error, other proxies with subdomains work just fine ---------------------------------------------------------------------- LNDN91 · 2023-11-04 17:11 Wdym default domain? Did u want set it up to manage npm from outside? Screenshots of ur setup pls. ---------------------------------------------------------------------- Beistmaster · 2023-11-04 17:13 By default domain I mean for example domain.com(it should come with npm is installed correctly on the server) but it goes with 526 error. All my proxies for example plex goes without an error in plex.domain.com ---------------------------------------------------------------------- LNDN91 · 2023-11-04 18:04 Not how it works. Just manually add it in npm and do the cert thing. ---------------------------------------------------------------------- Beistmaster · 2023-11-05 12:00 i think it should go to this page automatically (Congratulations! You've successfully started the Nginx Proxy Manager. If you're seeing this site then you're trying to access a host that isn't set up yet. Log in to the Admin panel to get started.) when im trying to reach for example [mydomain.com](https://mydomain.com) or even when i add a cname record to the cloudflare dns, it should greet me with that congratulations site of nginx, but no, it goes by ssl error 526, checked my ssl in [https://www.sslshopper.com/](https://www.sslshopper.com/) with no errors, when i put a plex server to proxy host in npm and direct it to [plex.mydomain.com](https://plex.mydomain.com) it goes to plex without any errors, im confused at this, because around 1month ago it was working just as i describe it, everytime i visit [mydomain.com](https://mydomain.com) it would go by congratulations, when i visit random subdomain without proxy host made it would go by congratulations too, but now only ssl error 526 ---------------------------------------------------------------------- Beistmaster · 2023-11-05 12:32 okay, did a little bit of testing, with flexible it starts to work, but when I make proxy host, Im getting another error, too many redirects