[GH-ISSUE #1577] Can I proxy just a subfolder? #1189

Closed
opened 2026-02-26 06:36:09 +03:00 by kerem · 1 comment
Owner

Originally created by @GordonCopestake on GitHub (Nov 9, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1577

I have an internal web server with lots of folders: host1/sub1, host1/sub2, host1/sub3 etc

Am I able to proxy just a single subfolder so a user can go to proxy/sub3 to get to host1/sub3 but can't go to proxy/sub1 or proxy/sub2 to get to those folders?

Reason is I would like to expose just one folder on my internal host to the internet, but not any others.

I've tried adding sub3 as a custom location but I just get 404's when I try. What's the right way to do this (assuming I can)

Thanks

Originally created by @GordonCopestake on GitHub (Nov 9, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1577 I have an internal web server with lots of folders: host1/sub1, host1/sub2, host1/sub3 etc Am I able to proxy just a **single subfolder** so a user can go to proxy/sub3 to get to host1/sub3 but **can't** go to proxy/sub1 or proxy/sub2 to get to those folders? Reason is I would like to expose just one folder on my internal host to the internet, but not any others. I've tried adding sub3 as a _custom location_ but I just get 404's when I try. What's the right way to do this (assuming I can) Thanks
kerem closed this issue 2026-02-26 06:36:09 +03:00
Author
Owner

@IceflowRE commented on GitHub (Feb 1, 2023):

Same as #40

<!-- gh-comment-id:1412122615 --> @IceflowRE commented on GitHub (Feb 1, 2023): Same as #40
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1189
No description provided.