Update Gitea config customizations

This commit is contained in:
James Skemp 2023-12-24 11:53:53 -06:00
parent e6fba6c210
commit 195c0fdf46
1 changed files with 2 additions and 1 deletions

View File

@ -151,6 +151,7 @@ server {
- `service` > `REQUIRE_SIGNIN_VIEW = false` (updated 4/2023)
- `server` > `SSH_DOMAIN = git.domain.com` (updated 8/2023)
- `DOMAIN` is fine as `localhost` since `ROOT_URL` is set.
- `server` > `LANDING_PAGE = explore` (updated 12/2023)
- `sudo nano /etc/nginx/nginx.conf`
- Add `client_max_body_size 100M;` to gitea server section (to allow for larger files)
- `sudo nginx -t`
@ -206,7 +207,7 @@ PASSWD = `password`
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = indexers/repos.bleve
MAX_FILE_SIZE = 1048576
REPO_INDEXER_INCLUDE = **.bat,**.cfm,**.cs,**.gd,**.go,**.htm,**.html,**.js,**.json,**.linq,**.md,**.ps1,**.ts,**.txt,**go.mod
REPO_INDEXER_INCLUDE = **.bat,**.cfm,**.cs,**.gd,**.go,**.htm,**.html,**.js,**.json,**.linq,**.md,**.ps1,**.ts,**.txt,**.xml,**go.mod
REPO_INDEXER_EXCLUDE =
```