Serve modpack.zip via Caddy static file, not Gitea (50MB cap)
modpack-final.zip is 78MB, well over Gitea's upload limit. Served directly from Caddy's existing static/ mount instead (path-routed within the minecraft.mivanchenko.de block, alongside the BlueMap failover) - no new container or mount needed. install.sh/install.ps1 MODPACK_URL updated accordingly; install scripts themselves stay on Gitea since they're small text files. Verified full byte-exact download end-to-end. Also drops the stale "moving to the venue" comments now that the server is permanently on mivanchenko.de.
This commit is contained in:
+3
-3
@@ -8,10 +8,10 @@
|
||||
set -euo pipefail
|
||||
|
||||
# ---- EDIT ME before hosting ----
|
||||
HOST_URL="https://git.mivanchenko.de/mivanchenko/mc-lan-party/raw/branch/main" # Gitea raw-file base URL
|
||||
MODPACK_URL="$HOST_URL/modpack.zip" # exported Prism instance folder, zipped, committed to the repo (see HOSTING.md)
|
||||
HOST_URL="https://git.mivanchenko.de/mivanchenko/mc-lan-party/raw/branch/main" # Gitea raw-file base URL, for this script + install.ps1 (small text files)
|
||||
MODPACK_URL="https://minecraft.mivanchenko.de/modpack.zip" # served directly by Caddy (static/ mount), NOT Gitea — modpack.zip is well over Gitea's 50MB upload cap
|
||||
INSTANCE_NAME="LANParty" # must match the top-level folder name inside modpack.zip
|
||||
SERVER_ADDR="minecraft.mivanchenko.de:25565" # DNS name, not a raw IP — repoint the A record to whichever box is running the server (prep machine now, venue box at party time) instead of rebuilding modpack.zip. See HOSTING.md "Moving the server to the venue".
|
||||
SERVER_ADDR="minecraft.mivanchenko.de:25565" # always-on homelab box, same address for prep and the actual party
|
||||
GH_REPO="unmojang/FjordLauncherUnlocked" # fallback if hero-persson's fork disappears; see note below
|
||||
# ---------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user