# \[SOLVED\] How to make repository public

**URL:** <https://forum.gitea.com/t/solved-how-to-make-repository-public/675>\
**Category:** Gitea Usages\
**Created:** [November 3, 2018, 11:24pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675 "2018-11-03T23:24:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [November 3, 2018, 11:24pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/1 "2018-11-03T23:24:32Z")

</div>

I know how to make repositories visible to everyone, but how do I make public repositories clonable by users that aren’t registered on my server?

---

<div class="post-metadata">

**Author:** ![braincoral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/braincoral/32/4778_2.png) [@braincoral](https://forum.gitea.com/u/braincoral)\
**Post date:** [November 8, 2018, 9:23pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/2 "2018-11-08T21:23:03Z")

</div>

If the repo is public anyone should be able to clone it via HTTP/HTTPS without any additional setup; assuming you don’t have another authentication system in front of gitea.

If you mean fork the repo in your instance, they can’t without being registered.

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [November 9, 2018, 1:44am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/3 "2018-11-09T01:44:07Z")

</div>

The repository is **public** , but peers can only `git clone` when able to enter a username + a corresponding password.

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [November 12, 2018, 11:05am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/4 "2018-11-12T11:05:54Z")

</div>

Assuming they’re cloning using HTTP/S please be sure you’ve configured your site to provide the correct base url and port.

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [November 12, 2018, 11:20am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/5 "2018-11-12T11:20:17Z")

</div>

I assume it wouldn’t work at all, if they were incorrect.

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [November 12, 2018, 11:53am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/6 "2018-11-12T11:53:54Z")

</div>

It’s possible. For instance one could be using SSH and not have provided an ssh key to gitea. Or, they could have an ssh key set but the port mapping is wrong (i.e. 22 vs 2222). If the issue is the base url you could have a hosts file setting they don’t. It’s really hard to say without more detail.

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [November 29, 2018, 5:37am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/7 "2018-11-29T05:37:35Z")

</div>

Issue is still there, even after updating to the newest version.

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [December 3, 2018, 6:38pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/8 "2018-12-03T18:38:12Z")

</div>

I’m not sure if you understood my last message (or if it made any sense) so I’m going to go out on a limb here and assume you need to use HTTP/S instead of `git` when cloning. It could be your using a non-standard port for `git+ssh`, which by default on most systems is 22 (the common port used for ssh).

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [December 4, 2018, 12:20am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/9 "2018-12-04T00:20:08Z")

</div>

I still don’t understand your point. You basically are saying that `HTTP/S` is the same as `GIT` and `SSH`. When I `git clone ssh://` then obviously I don’t need a password, because I have my pub.key shared. I have to use a working username and its corresponding password to `git clone` from plain `HTTPS` which shouldn’t be an issue. It also can’t be related to any SSH port configuration because this problem existed weeks before I even touched the SSH configuration for Gitea.

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [July 5, 2019, 12:13pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/10 "2019-07-05T12:13:14Z")

</div>

I still experience this problem. I don’t know what else to do, as my Nginx configuration is so basic, that only essential elements are set and most of them are managed by Certbot anyway. I don’t see how that might cause public repositories to be viewable only after registration.

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [July 25, 2019, 12:31pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/11 "2019-07-25T12:31:08Z")

</div>

In the OP you did not mention you were using an Nginx server. Basic Nginx config or not if your users cannot clone public repos over HTTP you likely need to debug your Nginx integration. Start by reviewing your Nginx logs and consider again the advice given here:

> [@How to make repository public](https://forum.gitea.com/t/how-to-make-repository-public/675/2):
>
> If the repo is public anyone should be able to clone it via HTTP/HTTPS without any additional setup; assuming you don’t have another authentication system in front of gitea. If you mean fork the repo in your instance, they can’t without being registered.

Alternatively, consider my solution called High Tea:

> **[REVISTA HACKERS by habd.as](https://habd.as)**
>
> Últimas noticias sobre hackers y todas las novedades

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [July 31, 2019, 2:36pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/12 "2019-07-31T14:36:05Z")

</div>

> [@anon74399538](#):
>
> you likely need to debug your Nginx integration

The logs have no errors and my Nginx configuration is so basic, I basically can’t debug anything as it is so barebones.

Can anyone show me an nginx configuration that works for them including let’s encrypt?

---

<div class="post-metadata">

**Author:** ![felihommen](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@felihommen](https://forum.gitea.com/u/felihommen)\
**Post date:** [October 1, 2019, 10:54am UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/13 "2019-10-01T10:54:34Z")

</div>

I had the same issue. Trying to clone a public repo from https asked for username and password.  
My problem was I had REQUIRE\_SIGNIN\_VIEW = true in my app.ini file  
Changing it to false solved my problem

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [October 1, 2019, 1:22pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/14 "2019-10-01T13:22:07Z")

</div>

OH  
MY  
GOD  
YES

Thank you so much! I had this issue for almost a year now and you provided the simple fix I was looking for… I knew it wasn’t some weird reverse proxy related error… I am baffled how nobody else could chime in helpfully on this topic in all this time.

Again, thank you so much, you saved my instance. 😁

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [February 8, 2026, 7:47pm UTC](https://forum.gitea.com/t/solved-how-to-make-repository-public/675/15 "2026-02-08T19:47:58Z")

</div>


