From 845edbab5e9d9365d6868c92bc3fd9dba9abc4cb Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 30 May 2023 08:55:36 +0200 Subject: [PATCH 1/4] docs: keep 3000 as the default port --- admin/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/installation.md b/admin/installation.md index 619564f8..75fc0ce6 100644 --- a/admin/installation.md +++ b/admin/installation.md @@ -228,10 +228,10 @@ Now enable and start the Forgejo service, so you can go on with the installation ## Forgejos web-based configuration -You should now be able to access Forgejo in your local web browser, so open http://git.example.com/. +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 to 80 with HTTP_PORT](../config-cheat-sheet). +> can be [changed later to 80 with HTTP_PORT](../config-cheat-sheet). If it doesn't work: @@ -247,7 +247,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` + **Forgejo Base URL** should be `http://git.example.com: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**), From 61502860f08fe36166e7f6221550e26d29cc4499 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 30 May 2023 15:23:16 +0200 Subject: [PATCH 2/4] 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` From c3176495e5913bab6772b786997978c53e43c2fa Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 30 May 2023 15:33:06 +0200 Subject: [PATCH 3/4] fix spelling --- admin/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/installation.md b/admin/installation.md index a600befb..14bce181 100644 --- a/admin/installation.md +++ b/admin/installation.md @@ -244,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` (assuming you didn't change HTTP_PORT a different value than 3000) + **Forgejo Base URL** should be `http://git.example.com:3000` (assuming you won'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**), From d4b53524c04cbdd0a3d3aa4484dc290948f352a7 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 30 May 2023 16:35:48 +0200 Subject: [PATCH 4/4] cosmetic change --- admin/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/installation.md b/admin/installation.md index 14bce181..3cf9e019 100644 --- a/admin/installation.md +++ b/admin/installation.md @@ -335,7 +335,7 @@ 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: +- 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