NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.44k stars 2.72k forks source link

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

Open pwddd opened 8 months ago

pwddd commented 8 months ago

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.

github-actions[bot] commented 1 month ago

Issue is now considered stale. If you want to keep it open, please comment :+1: