User Tools

Site Tools


docker:nginx_proxy_manager:forward_to_a_directory

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:nginx_proxy_manager:forward_to_a_directory [2025/07/21 09:08] peterdocker:nginx_proxy_manager:forward_to_a_directory [2025/07/21 09:18] (current) peter
Line 20: Line 20:
 ===== Other approach ===== ===== Other approach =====
  
-Custom configuration in the "Advanced" tab:+In **Advanced**:
  
 <code> <code>
Line 32: Line 32:
 </WRAP> </WRAP>
  
 +----
 +
 +===== Another Approach =====
 +
 +In **Advanced**:
 +
 +<code>
 +location = /{return 301 $scheme://$http_host/admin/;
 +</code>
 +
 +----
 +
 +===== Another Approach =====
 +
 +In **Advanced**:
 +
 +<code>
 +location = /{return 301 $scheme://$http_host/admin/;
 +
 +location / {
 +    # Proxy!
 +    include conf.d/include/proxy.conf;
 +}
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This has 2 locations.
 +
 +  * One with = sign
 +  * One without.
 +    * This is optional...
 +
 +</WRAP>
  
docker/nginx_proxy_manager/forward_to_a_directory.1753088939.txt.gz · Last modified: 2025/07/21 09:08 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki