File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
-
2
1
; This file lists the default values used by Gitea
3
2
; Copy required sections to your own app.ini (default is custom/conf/app.ini)
4
3
; and modify as needed.
@@ -221,6 +220,7 @@ ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
221
220
STATIC_URL_PREFIX =
222
221
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
223
222
HTTP_ADDR = 0.0.0.0
223
+ ; The port to listen on. Leave empty when using a unix socket.
224
224
HTTP_PORT = 3000
225
225
; If REDIRECT_OTHER_PORT is true, and PROTOCOL is set to https an http server
226
226
; 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
335
335
DSA = 1024
336
336
337
337
[database]
338
- ; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
338
+ ; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3".
339
339
DB_TYPE = mysql
340
340
HOST = 127.0.0.1:3306
341
341
NAME = gitea
@@ -713,7 +713,7 @@ ENABLE_FEDERATED_AVATAR = false
713
713
ENABLED = true
714
714
; Path for attachments. Defaults to `data/attachments`
715
715
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.
717
717
ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
718
718
; Max size of each file. Defaults to 4MB
719
719
MAX_SIZE = 4
You can’t perform that action at this time.
0 commit comments