mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-10-15 14:12:54 -04:00
🐛 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:
2 files changed
+4
-1
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
# gitea
|
||||||
|
|
||||||
|
Read `AI.md` and `IDEA.md` before acting on this project.
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user