Update app_ini README

This commit is contained in:
thhsh-local 2025-05-07 15:39:02 -04:00
parent 5a5d766c4f
commit 886dbc49e6
Signed by: thhsh-local
SSH key fingerprint: SHA256:bLOq3d7dN1v5+W5U6pQekP0rBm0YUtC9qvh3TDYyAsg

View file

@ -6,4 +6,4 @@ The `app.ini` file for Forgejo. See the [Forgejo Configuration Cheat Sheet](http
On the `prod-sourcecamp-starcatsys` server, this file is located at `/etc/forgejo/app.ini`.
## env to ini
Some values in the file are shown as `<REDACTED - GITEA__SERVER__LFS_JWT_SECRET>` in place of a secret value. According to [forgejo/contrib/environment-to-ini](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/contrib/environment-to-ini), we should be able to use environment variables for these secrets instead of hard-coding them into the `app.ini` file.
Some values in the file are shown as `<REDACTED - GITEA__SERVER__LFS_JWT_SECRET>` in place of a secret value. According to [forgejo/contrib/environment-to-ini](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/contrib/environment-to-ini), we should be able to use environment variables for these secrets instead of hard-coding them into the `app.ini` file. We're still experimenting with this feature.