How to implement htpasswd? #393
Replies: 2 comments
-
Hello @cod3rshotout, Instead of
Where the example.com will be a file named over your domain and will have the user and password. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, I tried as you suggested then I exec within the nginx container using "docker exec -it proxy-web-auto" and launched: "nginx -s reload". Nothing has changed. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Hello, I followed this instructions so I was able to create the file ".htpasswd" within the following folder: "proxy/data/htpasswd/example.com/.htpasswd".
I exec in the proxy-web-auto container and launched the following command "nginx -s reload", but my site isn't protected yet.
Could someone help me on this? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions