2
2
# PLEASE MAKE CHANGES ON CORRESPONDING CUSTOM CONFIG FILE
3
3
4
4
; App name that shows on every page title
5
- APP_NAME = Gogs: Go Git Service
5
+ APP_NAME = Gitea: Git with a cup of tea
6
6
; Change it if you run locally
7
7
RUN_USER = git
8
8
; Either "dev", "prod" or "test", default is "dev"
@@ -38,7 +38,7 @@ PREVIEWABLE_FILE_MODES = markdown
38
38
[repository.upload]
39
39
; Whether repository file uploads are enabled. Defaults to `true`
40
40
ENABLED = true
41
- ; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gogs restart)
41
+ ; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
42
42
TEMP_PATH = data/tmp/uploads
43
43
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
44
44
ALLOWED_TYPES =
@@ -93,7 +93,7 @@ HTTP_ADDR = 0.0.0.0
93
93
HTTP_PORT = 3000
94
94
; Permission for unix socket
95
95
UNIX_SOCKET_PERMISSION = 666
96
- ; Local (DMZ) URL for Gogs workers (such as SSH update) accessing web service.
96
+ ; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
97
97
; In most cases you do not need to change the default value.
98
98
; Alter it only if your SSH server node is not the same as HTTP node.
99
99
LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
@@ -120,7 +120,7 @@ MINIMUM_KEY_SIZE_CHECK = false
120
120
OFFLINE_MODE = false
121
121
DISABLE_ROUTER_LOG = false
122
122
; Generate steps:
123
- ; $ ./gogs cert -ca=true -duration=8760h0m0s -host=myhost.example.com
123
+ ; $ ./main cert -ca=true -duration=8760h0m0s -host=myhost.example.com
124
124
;
125
125
; Or from a .pfx file exported from the Windows certificate store (do
126
126
; not forget to export the private key):
@@ -129,7 +129,7 @@ DISABLE_ROUTER_LOG = false
129
129
CERT_FILE = custom/https/cert.pem
130
130
KEY_FILE = custom/https/key.pem
131
131
; Upper level of template and static file path
132
- ; default is the path where Gogs is executed
132
+ ; default is the path where Gitea is executed
133
133
STATIC_ROOT_PATH =
134
134
; Default path for App data
135
135
APP_DATA_PATH = data
@@ -149,13 +149,13 @@ DSA = 1024
149
149
; Either "mysql", "postgres" or "sqlite3", it's your choice
150
150
DB_TYPE = mysql
151
151
HOST = 127.0.0.1:3306
152
- NAME = gogs
152
+ NAME = gitea
153
153
USER = root
154
154
PASSWD =
155
155
; For "postgres" only, either "disable", "require" or "verify-full"
156
156
SSL_MODE = disable
157
157
; For "sqlite3" and "tidb", use absolute path when you start as service
158
- PATH = data/gogs .db
158
+ PATH = data/gitea .db
159
159
160
160
[admin]
161
161
@@ -165,8 +165,8 @@ INSTALL_LOCK = false
165
165
SECRET_KEY = !# @FDEWREWR&*(
166
166
; Auto-login remember days
167
167
LOGIN_REMEMBER_DAYS = 7
168
- COOKIE_USERNAME = gogs_awesome
169
- COOKIE_REMEMBER_NAME = gogs_incredible
168
+ COOKIE_USERNAME = gitea_awesome
169
+ COOKIE_REMEMBER_NAME = gitea_incredible
170
170
; Reverse proxy authentication header name of user name
171
171
REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER
172
172
@@ -344,13 +344,13 @@ RECEIVERS =
344
344
LEVEL =
345
345
; Either "mysql" or "postgres"
346
346
DRIVER =
347
- ; Based on xorm, e.g.: root:root@localhost/gogs ?charset=utf8
347
+ ; Based on xorm, e.g.: root:root@localhost/gitea ?charset=utf8
348
348
CONN =
349
349
350
350
[cron]
351
351
; Enable running cron tasks periodically.
352
352
ENABLED = true
353
- ; Run cron tasks when Gogs starts.
353
+ ; Run cron tasks when Gitea starts.
354
354
RUN_AT_START = false
355
355
356
356
; Update mirrors
@@ -430,7 +430,7 @@ cs-CZ = cs-CZ
430
430
431
431
[other]
432
432
SHOW_FOOTER_BRANDING = false
433
- ; Show version information about Gogs and Go in the footer
433
+ ; Show version information about Gitea and Go in the footer
434
434
SHOW_FOOTER_VERSION = true
435
435
; Show time of template execution in the footer
436
436
SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
0 commit comments