index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
conf
/
app.ini
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'conf/app.ini')
-rw-r--r--
conf/app.ini
5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 3cea1fdd..20ff3494 100644
--- a/
conf/app.ini
+++ b/
conf/app.ini
@@ -181,9 +181,14 @@ SERVICE = server
DISABLE_GRAVATAR = false
[attachment]
+; Path for attachments. Defaults to files/attachments
PATH =
; One or more allowed types, e.g. image/jpeg|image/png
ALLOWED_TYPES =
+; Max size of each file. Defaults to 32MB
+MAX_SIZE
+; Max number of files per upload. Defaults to 10
+MAX_FILES =
[log]
ROOT_PATH =