summaryrefslogtreecommitdiff
path: root/content/theses/self-sufficiency
diff options
context:
space:
mode:
Diffstat (limited to 'content/theses/self-sufficiency')
-rw-r--r--content/theses/self-sufficiency/git-forge.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/theses/self-sufficiency/git-forge.md b/content/theses/self-sufficiency/git-forge.md
index 638e7e3..23672c3 100644
--- a/content/theses/self-sufficiency/git-forge.md
+++ b/content/theses/self-sufficiency/git-forge.md
@@ -56,7 +56,7 @@ Open `forgejo/default.nix` in any text editor, and copy the following
};
service = {
- DISABLE_REGISTRATION = true;
+ DISABLE_REGISTRATION = false;
DEFAULT_KEEP_EMAIL_PRIVATE = true;
REQUIRE_SIGNIN_VIEW = false;
REGISTER_EMAIL_CONFIRM = false;
@@ -112,7 +112,7 @@ Let's break the config file down.
- We set the HTTP_PORT to `3040` because it's a non-standard port (the default of `3000` might clash with other services)
- We set the HTTP_ADDR to `127.0.0.1` so that the service is not accessible to anyone outside of the machine, *except* via reverse proxy through [`nginx`](/notes/self-sufficiency/web-server)
3) `service` deals with some of the more middleware things; here we have it set to allow registrations, so that we might make our own admin account. After that is done, it should be
- `DISABLE_REGISTRATION = false;`
+ `DISABLE_REGISTRATION = true;` so so that only the admin (you) can create new users.
4) We enable git LFS (Large File Storage) just in case.
5) Finally, we declare an [`nginx`](/notes/self-sufficiency/web-server) virtual host to set up a reverse proxy to point `forge.<YOUR-DOMAIN>` to HTTP_PORT 3040, so that you can access `forgejo` via the web.
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.