mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-06-24 02:01:03 -04:00
🐛 Fix SSL errors for repository migrations 🐛
SSL interception on this network presents certificates without SANs for the target hostname, breaking git clone operations during Gitea migrations. Add migration and git-level TLS bypass settings. - rootfs/tmp/etc/gitea/app.ini: add [migration] section with SKIP_TLS_VERIFY=true - rootfs/tmp/etc/gitea/app.ini: add [git.config] http.sslVerify=false rootfs/tmp/etc/gitea/app.ini
This commit is contained in:
@@ -210,6 +210,15 @@ DEFAULT_PAGING_NUM = 50
|
|||||||
DEFAULT_GIT_TREES_PER_PAGE = 1000
|
DEFAULT_GIT_TREES_PER_PAGE = 1000
|
||||||
DEFAULT_MAX_BLOB_SIZE = 10485760
|
DEFAULT_MAX_BLOB_SIZE = 10485760
|
||||||
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
[migration]
|
||||||
|
SKIP_TLS_VERIFY = true
|
||||||
|
ALLOWED_DOMAINS =
|
||||||
|
BLOCKED_DOMAINS =
|
||||||
|
ALLOW_LOCALNETWORKS = false
|
||||||
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
[git.config]
|
||||||
|
http.sslVerify = false
|
||||||
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
[webhook]
|
[webhook]
|
||||||
QUEUE_LENGTH = 1000
|
QUEUE_LENGTH = 1000
|
||||||
DELIVER_TIMEOUT = 30
|
DELIVER_TIMEOUT = 30
|
||||||
|
|||||||
Reference in New Issue
Block a user