NginxProxyManager / nginx-proxy-manager

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

can't access the webui with https+domain, I have tried to config the nginx proxy manager that proxy itself, but failed. Anyone who can help me how to config the nginx proxy manager #3975

Open 645340633 opened 1 week ago

645340633 commented 1 week ago

Checklist

Describe the bug

Nginx Proxy Manager Version

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

I can't access the nginx proxy manager webui with the https+domain, I have tried to config the nginx proxy manager that proxy itself, but failed. Anyone who can help me how to config the nginx proxy manager

Screenshots

1 2

Custom Nginx Configuration location / { proxy_pass http://nginx-proxy-manager.ix-nginx-proxy-manager.svc.cluster.local:9081;
proxy_set_header Host $http_host;
proxy_redirect http:// https://;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_http_version 1.1; } Please note, that any add_header or set

Operating System

truenas scale 24.04

Additional context

I need to access the nginx proxy manager webui with the https+domain . I have tried to config the nginx proxy manager that proxy itself , but failed. it can't access to the webui,Anyone who can help me how to config the nginx proxy manager that can access to the web with proxy https

645340633 commented 1 week ago

3