Skip to content

Commit 7ac116c

Browse files
authored
Tweak app.ini.sample (#11042)
Few misc tweaks to the sample config
1 parent cc07b9c commit 7ac116c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

custom/conf/app.ini.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
; This file lists the default values used by Gitea
32
; Copy required sections to your own app.ini (default is custom/conf/app.ini)
43
; and modify as needed.
@@ -221,6 +220,7 @@ ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
221220
STATIC_URL_PREFIX =
222221
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
223222
HTTP_ADDR = 0.0.0.0
223+
; The port to listen on. Leave empty when using a unix socket.
224224
HTTP_PORT = 3000
225225
; If REDIRECT_OTHER_PORT is true, and PROTOCOL is set to https an http server
226226
; will be started on PORT_TO_REDIRECT and it will redirect plain, non-secure http requests to the main
@@ -335,7 +335,7 @@ RSA = 2048
335335
DSA = 1024
336336

337337
[database]
338-
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
338+
; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3".
339339
DB_TYPE = mysql
340340
HOST = 127.0.0.1:3306
341341
NAME = gitea
@@ -713,7 +713,7 @@ ENABLE_FEDERATED_AVATAR = false
713713
ENABLED = true
714714
; Path for attachments. Defaults to `data/attachments`
715715
PATH = data/attachments
716-
; One or more allowed types, e.g. image/jpeg|image/png
716+
; One or more allowed types, e.g. "image/jpeg|image/png". Use "*/*" for all types.
717717
ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
718718
; Max size of each file. Defaults to 4MB
719719
MAX_SIZE = 4

0 commit comments

Comments
 (0)