mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
Merge pull request 'docs: keep 3000 as the default port' (#240) from earl-warren/website:wip-install-port into main
Reviewed-on: https://codeberg.org/forgejo/website/pulls/240 Reviewed-by: DanielGibson <danielgibson@noreply.codeberg.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
b5b13c5a39
1 changed files with 7 additions and 5 deletions
|
@ -228,10 +228,7 @@ 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/.
|
||||
|
||||
> **NOTE:** by default Forgejo will listen to the port 3000 but that
|
||||
> can be [changed to 80 with HTTP_PORT](../config-cheat-sheet).
|
||||
You should now be able to access Forgejo in your local web browser, so open http://git.example.com:3000/.
|
||||
|
||||
If it doesn't work:
|
||||
|
||||
|
@ -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`
|
||||
**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**),
|
||||
|
@ -338,6 +335,11 @@ The following changes are recommended if dealing with many large files:
|
|||
PROTOCOL = sendmail
|
||||
FROM = "Forgejo Git" <noreply@yourdomain.com>
|
||||
```
|
||||
- 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`
|
||||
|
|
Loading…
Reference in a new issue