Access Lists on custom location paths
Hello,
While implementing Proxy Manager and migrating from Apache Reversed Proxy (which are all configuration files built and referred to in sites files) I came across the following configuration I use and miss in Nginx Proxy Manager;
Most of the websites are public, while others have the need to use basic HTTP Auth or an access list. This is already possible on a domain and works like a charm. Now there are some websites which are public, but some subdirectories or subfiles on a website should be protected by auth or acl. Simple example: Wordpress websites should be public, but the wp-admin and/or wp-login.php sub url should be restricted by IP. In Apache I named a separate location and defined the allowed IP ACL. In proxy manager this is not yet possible, since I can't define a proxy host (e.g. example.com/wp-admin), I can only define domain names (e.g. domain.com (without something after the /)). I can define custom locations for various paths but it is not possible to define a ACL for the specific path. I am not a programmer, but I would very much like to have the option to be able to select a ACL list on a custom location (subdirectory).
Does anyone have any input? Thanks
Regards, Thomas
I currently add a custom location and specify whatever access control I need. Here's an example:
However, I don't like this approach. I would much prefer the ability to use access lists on subdirectories. as @Bahama03 describes.
I currently add a custom location and specify whatever access control I need. Here's an example:
However, I don't like this approach. I would much prefer the ability to use access lists on subdirectories. as @Bahama03 describes.
How are you seeing the window at the bottom of the custom locations tab where you can enter allow/deny rules? I'm on the most current version of NPM and I don't have that field?
@fvultee Press the gear icon.
@fvultee Press the gear icon.
Wow, I must have been tired, it's literally right in front of me...
I had to do some research and came across this issue to see this icon as well. You’re not alone.
However, being able to use the access list from there would be a great addition.
@fvultee Press the gear icon.
Wow, I must have been tired, it's literally right in front of me...
I had to do some research and came across this issue to see this icon as well. You’re not alone.
However, being able to use the access list from there would be a great addition.
Well at least we can put the details of an ACL under the icon and get the same effect, but you're right it would nice to just be able to select a predefined ACL.
