![](/img/trans.png)
[英]What is the realtionship between HTTP Basic Auth and .htpasswd based Authentication?
[英]Setting up gitlab basic auth htpasswd
我正在嘗試對gitlab服務器進行nginx身份驗證。 我進行了此處概述的更改。
但是我不確定在哪里實際生成htpasswd。
我已經嘗試過這些位置;
/nginx/.htpasswd
/var/log/gitlab/nginx/.htpasswd
我需要在哪里存放文件? 我無法在gitlab中找到其他配置步驟嗎?
謝謝
解決了。 gitlab在/ var / opt / gitlab / nginx / conf /目錄中查找htpasswd
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.