2024-01-26 20:51:17 +08:00
|
|
|
http_address="0.0.0.0:80"
|
|
|
|
# cookie_secret=""
|
|
|
|
email_domains=["homeinfra.org"]
|
|
|
|
cookie_secure="false"
|
|
|
|
upstreams="http://dockge:5001"
|
|
|
|
cookie_domains=[".homeinfra.org"] # Required so cookie can be read on all subdomains.
|
|
|
|
whitelist_domains=[".homeinfra.org"] # Required to allow redirection back to original requested target.
|
|
|
|
|
|
|
|
|
|
|
|
# gitea provider
|
|
|
|
provider="github"
|
|
|
|
provider_display_name="Gitea"
|
|
|
|
# client_id=""
|
|
|
|
# client_secret=""
|
2024-02-23 23:14:45 +08:00
|
|
|
redirect_url="https://dockge.homeinfra.org/oauth2/callback"
|
2024-01-26 20:51:17 +08:00
|
|
|
login_url="https://git.homeinfra.org/login/oauth/authorize"
|
|
|
|
redeem_url="https://git.homeinfra.org/login/oauth/access_token"
|
|
|
|
validate_url="https://git.homeinfra.org/api/v1/user/emails"
|