NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Enable Individual auth_basic Configuration for Different Locations within the Same Site in Nginx Proxy Manager
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Nginx Proxy Manager generates Nginx configuration files for proxy hosts and location blocks, focusing on the auth_basic setting. Define how location-level settings should be represented and applied, then verify that auth_basic can remain enabled for some locations while being disabled for others without manual configuration edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx, typescript
- Domain
- backend, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100