- Dockerfile: nginx:1.27-alpine serving the exported site, PORT from env, /healthz healthcheck, origin rewrite hook in docker-entrypoint.d - docker/default.conf.template: envsubst PORT, clean URLs without trailing-slash redirect, long cache for hashed assets, no-cache for HTML/sw.js/manifest, 301 http->https via X-Forwarded-Proto, gzip - docker/security-headers.conf: single include so add_header survives per location - docker-compose.yml (Dokploy, no host ports) + docker-compose.override.yml (local) - bake canonical/OG/sitemap/robots origin to https://alterflixhub.hobbypj.com (was the export-time 127.0.0.1:8090), overridable via PUBLIC_ORIGIN - docs/deploy-dokploy.md
29 lines
348 B
Plaintext
29 lines
348 B
Plaintext
# ไฟล์ที่ไม่ต้องส่งเข้า build context / image
|
|
.git
|
|
.gitignore
|
|
.github
|
|
Dockerfile
|
|
docker-compose.yml
|
|
docker-compose.override.yml
|
|
.dockerignore
|
|
*.md
|
|
docs
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
node_modules
|
|
.output
|
|
build
|
|
dist
|
|
static-export
|
|
coverage
|
|
*.log
|
|
*.bak
|
|
*.bak-*
|
|
*.orig
|
|
*.tmp
|
|
probe-*
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|