🐛 use dynamic protocol placeholder in gitea app.ini 🐛

- Replace hardcoded `PROTOCOL = http` with `REPLACE_SERVER_PROTO` in the `[server]` section
- Keeps PROTOCOL consistent with ROOT_URL, which already uses the placeholder
- Lets the entrypoint set the protocol at runtime instead of forcing http

AGENTS.md
rootfs/tmp/etc/gitea/app.ini
This commit is contained in:
casjay committed 2026-10-03 10:21:41 -04:00
1 parent 54eb9ba037
commit 7741c06dc3
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
# gitea
Read `AI.md` and `IDEA.md` before acting on this project.
+1 -1
View File
@@ -5,7 +5,7 @@ RUN_MODE = prod
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[server] [server]
PROTOCOL = http PROTOCOL = REPLACE_SERVER_PROTO
HTTP_ADDR = 0.0.0.0 HTTP_ADDR = 0.0.0.0
HTTP_PORT = 80 HTTP_PORT = 80
ROOT_URL = REPLACE_SERVER_PROTO://REPLACE_SERVER_NAME ROOT_URL = REPLACE_SERVER_PROTO://REPLACE_SERVER_NAME