diff --git a/system/infrastructure/gitea.md b/system/infrastructure/gitea.md new file mode 100644 index 0000000..9668e62 --- /dev/null +++ b/system/infrastructure/gitea.md @@ -0,0 +1,57 @@ +--- +description: Gitea instance configuration and access details +--- +--- +description: Gitea instance configuration and access details for memory sync +--- + +# Gitea Infrastructure + +## Instance Details + +**Internal Endpoint:** `10.10.20.120:4455` +**External Endpoint:** `gitea.wiuf.net` (HTTPS, Cloudflare protected) +**Status:** Internal works, external has 413 errors due to reverse proxy limits + +## Access Method + +**Working URL Format:** +``` +http://cfc7e6dc0f4323d6d3e608c15c2b41eb4c7b4073@10.10.20.120:4455/Fimeg/Redflag.git +``` + +**Authentication:** Token embedded in URL (no SSH key needed for HTTP) + +## SSH Attempt (Failed) + +**SSH Key:** `/home/ani/.ssh/gitea_ed25519` +**Created:** March 28, 2026 19:46 +**Status:** SSH blocked from this machine - "Network is unreachable" +**Fallback:** HTTP with token auth + +## Memory Repository + +**Repo Name:** `Redflag` +**Owner:** `Fimeg` +**Full URL:** `http://cfc7e6dc0f4323d6d3e608c15c2b41eb4c7b4073@10.10.20.120:4455/Fimeg/Redflag.git` + +## Setup Notes + +- External HTTPS (gitea.wiuf.net) returns HTTP 413 due to Cloudflare/reverse proxy body size limits +- Internal endpoint (10.10.20.120:4455) bypasses Cloudflare and works +- SSH connectivity not available from Fedora VM to Gitea host +- HTTP basic auth with token is the working path + +## For Memory Sync + +```bash +# Add remote +cd "$MEMORY_DIR" +git remote add gitea http://cfc7e6dc0f4323d6d3e608c15c2b41eb4c7b4073@10.10.20.120:4455/Fimeg/Redflag.git + +# Push +git push gitea master +``` + +--- +*Setup: March 28, 2026*