docker:nginx_proxy_manager:disable_ssl_verification_for_proxied_host
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker:nginx_proxy_manager:disable_ssl_verification_for_proxied_host [2025/07/21 08:42] – created peter | docker: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. | + | |
- | + | ||
- | < | + | |
- | location / { | + | |
- | proxy_pass $forward_scheme:// | + | |
- | proxy_set_header Host test.com; | + | |
- | proxy_ssl_name test.com; | + | |
- | proxy_ssl_server_name on; | + | |
- | proxy_redirect $forward_scheme:// | + | |
- | } | + | |
- | </ | + | |
<WRAP info> | <WRAP info> | ||
**NOTE:** It works like this: | **NOTE:** It works like this: | ||
- | * intenet --> [ LE Cert ] --> | + | * intenet --> [ LE Cert ] --> |
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. | ||
</ | </ | ||
+ | |||
---- | ---- | ||
- | ===== 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 ===== | ||
+ | |||
+ | < | ||
+ | location / { | ||
+ | proxy_pass https:// | ||
+ | proxy_ssl_verify | ||
+ | proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== With an IP Address | ||
< | < | ||
Line 49: | Line 53: | ||
===== Other approach ===== | ===== Other approach ===== | ||
+ | |||
+ | Add this in advanced tab. | ||
< | < | ||
location / { | location / { | ||
- | proxy_pass | + | proxy_pass |
- | | + | proxy_set_header Host test.com; |
- | | + | proxy_ssl_name test.com; |
+ | | ||
+ | | ||
} | } | ||
</ | </ | ||
---- | ---- | ||
+ | |||
docker/nginx_proxy_manager/disable_ssl_verification_for_proxied_host.1753087327.txt.gz · Last modified: 2025/07/21 08:42 by peter