Closed
Description
Description
I run gitea with docker ,and when I want to migrate project from git, It shows fail and needs me to configure the migrations-ALLOWED_DOMAINS,BLOCKED_DOMAINS ,ALLOW_LOCALNETWORKS
And when I want to find the introduction of the app.ini
, I find it's the example:
;; Allowed domains for migrating, default is blank. Blank means everything will be allowed.
;; Multiple domains could be separated by commas.
;; Wildcard is supported: "github.com, *.github.com"
;ALLOWED_DOMAINS =
;;
;; Blocklist for migrating, default is blank. Multiple domains could be separated by commas.
;; When ALLOWED_DOMAINS is not blank, this option has a higher priority to deny domains.
;; Wildcard is supported.
;BLOCKED_DOMAINS =
but when I configure as blow, it's still fail.
ALLOWED_DOMAINS =
BLOCKED_DOMAINS =
and when I change it as:
ALLOWED_DOMAINS = *
BLOCKED_DOMAINS =
and now, it can migrate successful.
Gitea Version
1.16.8
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I run gitea with docker-compose, and the image is v1.16.8
Database
PostgreSQL