NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.44k stars 2.72k forks source link

Proxy Returning a Dummy Certificate when adding Access List #2532

Open isiko opened 1 year ago

isiko commented 1 year ago

Checklist

Describe the bug When adding an access list to a Proxy and try to access it afterwards, the Certificate used is a Dummy Certificate using localhost as the CA

Nginx Proxy Manager Version 2.9.19

To Reproduce Steps to reproduce the behavior:

  1. Create a Proxy Host with a
  2. Create an Access List that allows you to access the Page
  3. Add Access List to Proxy Host
  4. Result as described above

Expected behavior A Valid Certificate is returned and the Page can be accessed like normal

Operating System Ubuntu 22.04.1 + Docker

Additional context Docker-Version: 20.10.22

santiagz commented 1 year ago

the same problem

PaddySe commented 1 year ago

Same for me, except this only happens when I use an access list with basic authentication. An access list with only IP restrictions works fine.

PaddySe commented 1 year ago

Looks like the UI sometimes forgets to add the following two lines to the .conf file:

listen 443 ssl http2;
#listen [::]:443;
mull0r commented 1 year ago

I have this issue as well. Pretty annoying, as most hosts I have are using the ACL: I have to change all proxy hosts their configuration twice to get it back to working correctly. For instance: switching the redirect to http:// and then back to https:// (or the other way around) for all proxy hosts does the trick.

github-actions[bot] commented 10 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: