I would like to know how can I make the replica servers authenticate when using the HTTP protocol.When I clone from replica servers using HTTP protocol, no authentication is done. Anyone can git clone.
在2022年7月4日星期一 UTC+8 15:20:47<wang hanji> 写道:What steps will reproduce the problem?
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/58a5b6b3-6973-443a-92ba-967088cf18c4n%40googlegroups.com.
I am sure all refs are copied.
Maybe there is something wrong with my description.
What I want to know is, when I git clone from replica servers using HTTP protocol, is it possible to authenticate like master servers authenticate.
In another question, the answer is - "
No, replica servers do not serve REST API, UI and search index.
You may consider using a multi-master or multi-site setup.
"
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/019026e9-5dc5-49b4-ba5c-88532d6496b9n%40googlegroups.com.