Disabled repo archive (.zip) downloads (Issue with Giteas /var folder bloating), max file size upped to 4gb
This commit is contained in:
parent
751b579605
commit
d2cbd43dff
13
app.ini
13
app.ini
@ -19,6 +19,7 @@ MAX_CREATION_LIMIT = 100
|
|||||||
DISABLE_STARS = true
|
DISABLE_STARS = true
|
||||||
ENABLE_PUSH_CREATE_USER = true
|
ENABLE_PUSH_CREATE_USER = true
|
||||||
ENABLE_PUSH_CREATE_ORG = true
|
ENABLE_PUSH_CREATE_ORG = true
|
||||||
|
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
|
||||||
|
|
||||||
[repository.signing]
|
[repository.signing]
|
||||||
DEFAULT_TRUST_MODEL = committer
|
DEFAULT_TRUST_MODEL = committer
|
||||||
@ -86,13 +87,5 @@ SHOW_USER_EMAIL = false
|
|||||||
DEFAULT_THEME = github
|
DEFAULT_THEME = github
|
||||||
THEMES = github
|
THEMES = github
|
||||||
|
|
||||||
[cron]
|
[attachment]
|
||||||
ENABLED = true
|
MAX_SIZE = 4096
|
||||||
RUN_AT_START = true
|
|
||||||
|
|
||||||
[cron.archive_cleanup]
|
|
||||||
ENABLED = true
|
|
||||||
RUN_AT_START = true
|
|
||||||
NOTICE_ON_SUCCESS = false
|
|
||||||
SCHEDULE = @midnight
|
|
||||||
OLDER_THAN = 24h
|
|
||||||
|
@ -2,7 +2,7 @@ server {
|
|||||||
server_name git.supernets.org;
|
server_name git.supernets.org;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
client_max_body_size 512M;
|
client_max_body_size 4096M;
|
||||||
proxy_pass http://localhost:3000;
|
proxy_pass http://localhost:3000;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user