fix(forgejo): land on login instead of marketing homepage
REQUIRE_SIGNIN_VIEW doesn't affect the anonymous landing page; the actual control is [server] LANDING_PAGE.
This commit is contained in:
parent
8732da91de
commit
1549283f19
1 changed files with 6 additions and 0 deletions
|
|
@ -69,6 +69,12 @@ services:
|
|||
FORGEJO__server__ROOT_URL: "{{FORGEJO_ROOT_URL}}"
|
||||
FORGEJO__server__DOMAIN: "{{FORGEJO_DOMAIN}}"
|
||||
FORGEJO__server__SSH_PORT: "{{FORGEJO_SSH_PORT:-2222}}"
|
||||
# LANDING_PAGE controls what anonymous visitors see at "/" — set to
|
||||
# login so they land on sign-in instead of the marketing homepage.
|
||||
# REQUIRE_SIGNIN_VIEW is a separate, stricter setting (blocks anonymous
|
||||
# access to literally everything including the API); LANDING_PAGE
|
||||
# alone is enough for "just show login at the root".
|
||||
FORGEJO__server__LANDING_PAGE: "{{FORGEJO_LANDING_PAGE:-login}}"
|
||||
# Self-hosted personal instance — no open signup by default. Create
|
||||
# additional accounts with `forgejo admin user create` instead.
|
||||
FORGEJO__service__DISABLE_REGISTRATION: "{{FORGEJO_DISABLE_REGISTRATION:-true}}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue