mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 05:18:55 -05:00
[GH-ISSUE #173] Invalid Origin #1200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ricardosaurio on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/173
Under CasaOS, runing gitea-mirror as a docker image, launching it will take me to the set up screen where it will ask for an email, and password (twice).
No matter what i write into those fields, i always get an "invalid origin" pop up.
I have never used gitea mirror, this is just the first time using it.
If it might be of help, CasaOS doesnt allow to install gitea as a single "app", so i cant edit any YAML file or modify the settings.
@williamwebb commented on GitHub (Feb 18, 2026):
You will need to add your domain as a trusted origin. These can be set via environmental variables in your docker container, they are outlined here. https://github.com/RayLabsHQ/gitea-mirror/blob/main/docs/ENVIRONMENT_VARIABLES.md. Specifically look at PUBLIC_BETTER_AUTH_URL and BETTER_AUTH_TRUSTED_ORIGINS.
@ricardosaurio commented on GitHub (Feb 18, 2026):
Thanks, i will try and come back at you,