NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface

Home Page:https://nginxproxymanager.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable Individual auth_basic Configuration for Different Locations within the Same Site in Nginx Proxy Manager

pwddd opened this issue · comments

Is your feature request related to a problem? Please describe.
I encountered an issue when using auth_basic for access control in Nginx Proxy Manager, as it can conflict with application-level Auth since they both use the same request header. Therefore, I would like to propose a new feature that allows for configuring auth_basic separately for each location block. This would enable disabling auth_basic for specific locations.

Describe the solution you'd like
I would like the ability to configure auth_basic at the location level in Nginx Proxy Manager. This means having the option to disable auth_basic for specific location blocks while leaving it enabled for others.

Describe alternatives you've considered
One alternative is to manually modify the Nginx configuration files generated by Nginx Proxy Manager, but this is not ideal as it requires manual intervention and may be overwritten by configuration changes in Nginx Proxy Manager.

Additional context
This feature would provide more flexibility in access control configurations for users of Nginx Proxy Manager, especially in scenarios where auth_basic conflicts with application-level authentication mechanisms.