docker:nginx_proxy_manager:forward_to_a_directory
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker:nginx_proxy_manager:forward_to_a_directory [2025/07/21 09:06] – peter | docker:nginx_proxy_manager:forward_to_a_directory [2025/07/21 09:18] (current) – peter | ||
---|---|---|---|
Line 13: | Line 13: | ||
* **Location** - set to **/**. | * **Location** - set to **/**. | ||
* **Forward Location** - set to **192.168.1.1: | * **Forward Location** - set to **192.168.1.1: | ||
+ | * It is important that there is a / at the end! | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Other approach ===== | ||
+ | |||
+ | In **Advanced**: | ||
+ | |||
+ | < | ||
+ | location / { | ||
+ | proxy_pass http:// | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Another Approach ===== | ||
+ | |||
+ | In **Advanced**: | ||
+ | |||
+ | < | ||
+ | location = /{return 301 $scheme:// | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Another Approach ===== | ||
+ | |||
+ | In **Advanced**: | ||
+ | |||
+ | < | ||
+ | location = /{return 301 $scheme:// | ||
+ | |||
+ | location / { | ||
+ | # Proxy! | ||
+ | include conf.d/ | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * One with = sign | ||
+ | * One without. | ||
+ | * This is optional... | ||
+ | |||
+ | </ | ||
docker/nginx_proxy_manager/forward_to_a_directory.1753088802.txt.gz · Last modified: 2025/07/21 09:06 by peter