mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 01:15:51 +03:00
[GH-ISSUE #299] Add Access List does not work #264
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xsliii on GitHub (Feb 21, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/299
I'm using the current version of the nginx-proxy-manager:latest image in my docker setup on my server.
When I want to add a basic authentication "further called access list", I just receiv a "internal error" popup in the manager administration view.
The container log says the following:
[2/20/2020] [11:45:53 PM] [Access ] › ℹ info Building Access file #1 for: chainovate
[2/20/2020] [11:45:54 PM] [Access ] › ℹ info Adding: chris
[2/20/2020] [11:45:54 PM] [Access ] › ✖ error Error: Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
[2/20/2020] [11:45:54 PM] [Access ] › ✖ error Error: Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
[2/20/2020] [11:45:54 PM] [Access ] › ✔ success Built Access file #1 for: chainovate
[2/20/2020] [11:45:54 PM] [Express ] › ⚠ warning Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
It seems that the provided image has no installed "apache2-utils" package.
My Workaround:
using a own Dockerfile extending from the provided nginx-proxy-manager image and install the missing "apache2-utils" package.
@jc21 commented on GitHub (Feb 21, 2020):
Ok must have missed that in the new base image. Will fix it
@xsliii commented on GitHub (Feb 21, 2020):
Thanks 👍 could you give me an estimate if possible?
@jc21 commented on GitHub (Feb 21, 2020):
In the next 4 hours or so
@jc21 commented on GitHub (Feb 21, 2020):
This base image is still building and then NPM needs to be rebuilt with it. Will comment again when this is all done.
@jc21 commented on GitHub (Feb 21, 2020):
All done, pull either
latest,2or2.1.1docker image tag.@xapfer commented on GitHub (Mar 28, 2020):
Hello,
I recently installed npm in RPi, using another mariDB package, all seems to work fine but I have the same problem. The ACLs do nothing.
I've checked latest and 2.1.1 packages.
Thank you for your work.
@SAOPP commented on GitHub (Aug 14, 2020):
Guys, can u tell me, I don't understand a bit current logic, for example, there is 1 group, can I add a rule so that it works for any access from any IP - but with basic authentication for the host?
@SAOPP commented on GitHub (Aug 14, 2020):
Oooops... I apologize, it looks like I figured it out, it is just necessary after each change in the ACL, reapply the host settings. Before these actions, it looked as if my changes in the ACL didn't bring any effect. It looks like the question has been cleared, thanks.
@ItsNoted commented on GitHub (Aug 24, 2020):
I have a video here showing the basics. https://www.youtube.com/watch?v=0CSvMUJEXIw