Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| nginx_proxy_manager_behind_cloudflare [07.03.2025 00:11] – created Pascal Suter | nginx_proxy_manager_behind_cloudflare [07.03.2025 00:59] (current) – Pascal Suter | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| * now fix the client ip address, for this we need to tell to nginx proxy manager who can send X-Forwarded-For headers to provide real client ips. | * now fix the client ip address, for this we need to tell to nginx proxy manager who can send X-Forwarded-For headers to provide real client ips. | ||
| - | I have created a script to automatically write a include file, which can be included in the host configuration on nginx proxy manager under Advanced --> Custom Nginx Configuration. add < | + | I have created a script to automatically write a include file, which can be included in the host configuration on nginx proxy manager under Advanced --> Custom Nginx Configuration. add < | 
| here is the script that generates the include: | here is the script that generates the include: | ||
| Line 45: | Line 45: | ||
| adjust the $liveconf path and the name of the nginx proxy manager app for docker-compose to reload " | adjust the $liveconf path and the name of the nginx proxy manager app for docker-compose to reload " | ||
| + | * setup [[https:// | ||
| + | |||
| + | add custom config to nginx proxy manager host config | ||
| + | ssl_verify_client on; | ||
| + | ssl_client_certificate / | ||
| + | |||
| + | download cloudflare certificate from https:// | ||
| + | |||
| + | finally enable authenticated origin pulls in cloudflare admin console under " | ||