docker:nginx_proxy_manager:disable_ssl_verification_for_proxied_host
Table of Contents
Docker - Nginx Proxy Manager - Disable SSL verification for proxied host
Self-signed certs are not trusted by Nginx Proxy Server.
So disable certificate verification.
NOTE: It works like this:
- intenet –> [ LE Cert ] –> NPM –> [Self-Signed cert] –> my_service
where
- LE Cert - Lets Encrypt Certificate.
- NPM - Nginx Proxy Manager.
- Self-Signed cert - A Self-Signed Certificate.
- my_service - The proxied host.
Go to your proxy host custom locations and define / (root) location.
- Scheme should be https.
- Under advanced settings use this
With a URL to the proxied host
location / { proxy_pass https://self-signed.example.com/:443; proxy_ssl_verify off; proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; }
With an IP Address to the proxied host
location / { proxy_pass https://123.123.123.123:9876; proxy_ssl_verify off; proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; }
Other approach
Add this in advanced tab.
location / { proxy_pass $forward_scheme://$server:$port; proxy_set_header Host test.com; proxy_ssl_name test.com; proxy_ssl_server_name on; proxy_redirect $forward_scheme://$server:$port /; }
docker/nginx_proxy_manager/disable_ssl_verification_for_proxied_host.txt · Last modified: 2025/07/21 08:52 by peter