summaryrefslogtreecommitdiff
path: root/content/theses/self-sufficiency
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-09-14 19:04:22 +0000
committeraethrvmn <me@aethrvmn.gr>2025-09-14 19:04:22 +0000
commit3710cac335a4300b8b02b43dbe7e26acbe2d4471 (patch)
tree02cb67d2ac9566ce125de3f596eb43b5abc49d9b /content/theses/self-sufficiency
parentadded useWizard (diff)
fixed again registrations
Diffstat (limited to '')
-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.