I am trying to have nginx authentication to a gitlab server. I have made the changes outlined here .
But I am not sure where to actually generate the htpasswd at.
I've tried these locations;
/nginx/.htpasswd
/var/log/gitlab/nginx/.htpasswd
Where do I need to put the file? are there any extra configuration steps within gitlab that I cannot find?
Thank you
Solved it. gitlab is looking in the /var/opt/gitlab/nginx/conf/ directory for htpasswd
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.