- 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>
7 lines
277 B
Docker
7 lines
277 B
Docker
# nginx.conf 를 image 에 굽는다.
|
|
# (volume mount 로 운영하다 보면 호스트 측 conf 가 stale 일 때 영문도 모르고
|
|
# 502 가 나는 경우가 있어 image 안에 직접 포함시킨다.)
|
|
FROM nginx:alpine
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
EXPOSE 80 81
|