[GH-ISSUE #459] Access List in custom location #386

Closed
opened 2026-02-26 06:32:39 +03:00 by kerem · 2 comments
Owner

Originally created by @Patriciawa on GitHub (Jun 11, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/459

Is your feature request related to a problem? Please describe.
Right now (as far as I can tell) you can't add an access list to a custom location, only the domain.

Describe the solution you'd like
A option to add an access list to the "Custom Locations" tab. This access list overrides the access list in the "Details" tab, or add an option to override it.

Describe alternatives you've considered
Manually editing the config.

Originally created by @Patriciawa on GitHub (Jun 11, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/459 **Is your feature request related to a problem? Please describe.** Right now (as far as I can tell) you can't add an access list to a custom location, only the domain. **Describe the solution you'd like** A option to add an access list to the "Custom Locations" tab. This access list overrides the access list in the "Details" tab, or add an option to override it. **Describe alternatives you've considered** Manually editing the config.
kerem 2026-02-26 06:32:39 +03:00
Author
Owner

@Patriciawa commented on GitHub (Jun 11, 2020):

I've also noticed that when you have a custom location, it won't force it to https when you have that option enabled in the ssl tab. So I went to the advanced tab and added the following;

location /customlocation/* {
         return 301 https://example.com$request_uri;
 }

The * means in this case that everything after /customlocation/ will be returned to https. Works like a charm!

<!-- gh-comment-id:642757766 --> @Patriciawa commented on GitHub (Jun 11, 2020): I've also noticed that when you have a custom location, it won't force it to https when you have that option enabled in the ssl tab. So I went to the advanced tab and added the following; ``` location /customlocation/* { return 301 https://example.com$request_uri; } ``` The `*` means in this case that everything after /customlocation/ will be returned to https. Works like a charm!
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/148

<!-- gh-comment-id:839782071 --> @chaptergy commented on GitHub (May 12, 2021): Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/148
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#386
No description provided.