User Tools

Site Tools


docker:nginx_proxy_manager:disable_ssl_verification_for_proxied_host

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docker:nginx_proxy_manager:disable_ssl_verification_for_proxied_host [2025/07/21 08:42] – created peterdocker:nginx_proxy_manager:disable_ssl_verification_for_proxied_host [2025/07/21 08:52] (current) peter
Line 1: Line 1:
 ====== Docker - Nginx Proxy Manager - Disable SSL verification for proxied host ====== ====== Docker - Nginx Proxy Manager - Disable SSL verification for proxied host ======
  
-Go to your proxy host custom locations and define **/ (root)** location.+Self-signed certs are not trusted by Nginx Proxy Server.
  
-  * Scheme should be https. +So disable certificate verification.
-  * Under advanced settings use this +
- +
----- +
- +
-Add this in advanced tab. +
- +
-<code> +
-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 /; +
-+
-</code>+
  
 <WRAP info> <WRAP info>
 **NOTE:** It works like this: **NOTE:** It works like this:
  
-  * intenet --> [ LE Cert ] --> npm --> [Self-Signed cert] --> my_service+  * intenet --> [ LE Cert ] --> NPM --> [Self-Signed cert] --> my_service
  
 where where
  
   * **LE Cert** - Lets Encrypt Certificate.   * **LE Cert** - Lets Encrypt Certificate.
-  * **npm** - Nginx Proxy Manager.+  * **NPM** - Nginx Proxy Manager.
   * **Self-Signed cert** - A Self-Signed Certificate.   * **Self-Signed cert** - A Self-Signed Certificate.
   * **my_service** - The proxied host.   * **my_service** - The proxied host.
  
 </WRAP> </WRAP>
 +
  
 ---- ----
  
-===== With IP Address =====+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 ===== 
 + 
 +<code> 
 +location / { 
 +    proxy_pass https://self-signed.example.com/:443; 
 +    proxy_ssl_verify       off; 
 +    proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; 
 +
 +</code> 
 + 
 + 
 +===== With an IP Address to the proxied host =====
  
 <code> <code>
Line 49: Line 53:
  
 ===== Other approach ===== ===== Other approach =====
 +
 +Add this in advanced tab.
  
 <code> <code>
 location / { location / {
-    proxy_pass https://self-signed.example.com/:443+    proxy_pass $forward_scheme://$server:$port; 
-    proxy_ssl_verify       off+    proxy_set_header Host test.com; 
-    proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;+    proxy_ssl_name test.com; 
 +    proxy_ssl_server_name on
 +    proxy_redirect $forward_scheme://$server:$port /;
 } }
 </code> </code>
  
 ---- ----
 +
  
docker/nginx_proxy_manager/disable_ssl_verification_for_proxied_host.1753087327.txt.gz · Last modified: 2025/07/21 08:42 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki