From 61502860f08fe36166e7f6221550e26d29cc4499 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 30 May 2023 15:23:16 +0200 Subject: [PATCH] apply review suggestions --- admin/installation.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/admin/installation.md b/admin/installation.md index 75fc0ce6..a600befb 100644 --- a/admin/installation.md +++ b/admin/installation.md @@ -230,9 +230,6 @@ Now enable and start the Forgejo service, so you can go on with the installation You should now be able to access Forgejo in your local web browser, so open http://git.example.com:3000/. -> **NOTE:** by default Forgejo will listen to the port 3000 but that -> can be [changed later to 80 with HTTP_PORT](../config-cheat-sheet). - If it doesn't work: - Make sure the forgejo service started successfully by checking the output of @@ -247,7 +244,7 @@ The settings should be mostly self-explanatory, some hints: - Select the correct database (SQLite3, or if you configured something else in the "Set up database" step above, select that and set the corresponding options) - **Server Domain** should be `git.example.com` (or whatever you're actually using), - **Forgejo Base URL** should be `http://git.example.com:3000` + **Forgejo Base URL** should be `http://git.example.com:3000` (assuming you didn't change HTTP_PORT a different value than 3000) - Check the **Server and Third-Party Service Settings** settings for settings that look relevant for you. - It may make sense to create the administrator account right now (**Administrator Account Settings**), @@ -338,6 +335,11 @@ The following changes are recommended if dealing with many large files: PROTOCOL = sendmail FROM = "Forgejo Git" ``` +- By default Forgejo will listen to the port 3000 but that can be [changed to 80 with HTTP_PORT](../config-cheat-sheet) like this: + ```ini + [server] + HTTP_PORT = 80 + ``` When you're done editing the app.ini, save it and start the forgejo service again: `# systemctl start forgejo.service`