Files move to <NEXTCLOUD_DIR>/<domain>/<type>.zip; packs.json is {domain: {type: meta}}.
Only resourcepack shows the server.properties snippet; datapack/modpack show the URL.
modpack skips the pack.mcmeta check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- api: /api/packs upload/list/delete (zip + pack.mcmeta check, SHA1), files go to
Nextcloud WebDAV; public GET /pack/<domain>.zip streams from Nextcloud
- nginx: unlimited body for /api/packs/, separate :81 server that only serves /pack/
- frontend: 리소스팩 page with upload progress and server.properties snippet
- compose: NEXTCLOUD_* env from .env, 8081:81 mapping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
User reported persistent 502 with upstream "frontend:3000" after the
previous fix that changed the upstream to "frontend:80". Symptom is
a stale conf still being served by the nginx container - the host
volume mount was keeping an old file in play (cached image, missing
git pull, or the conf simply not being re-read).
Make this class of bug impossible: ship the conf inside the nginx
service's image. A fresh build now guarantees the conf in the
container matches the conf in the repo.
- nginx/Dockerfile added (FROM nginx:alpine + COPY nginx.conf)
- docker-compose nginx service: image -> build ./nginx; remove
the conf bind mount entirely.
Deploy: git pull && docker compose build nginx frontend && docker compose up -d --force-recreate