- 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
95 lines
2.0 KiB
Plaintext
95 lines
2.0 KiB
Plaintext
# robots.txt — AlterFlixHub
|
|
# ค้นหาโรงหนังอิสระ/อาร์ตเฮาส์ในประเทศไทย
|
|
|
|
# ── search engines (อนุญาตชัดเจน) ────────────────────────────────
|
|
User-agent: Googlebot
|
|
Allow: /
|
|
|
|
User-agent: Bingbot
|
|
Allow: /
|
|
|
|
User-agent: DuckDuckBot
|
|
Allow: /
|
|
|
|
User-agent: Bravebot
|
|
Allow: /
|
|
|
|
User-agent: Applebot
|
|
Allow: /
|
|
|
|
# ── ค่าเริ่มต้น: เปิดให้ index แต่ปิดส่วนที่ไม่ควรอยู่ในผลค้นหา ──
|
|
User-agent: *
|
|
Allow: /
|
|
Disallow: /api/
|
|
Disallow: /admin
|
|
Disallow: /admin/login
|
|
Disallow: /_agent-native/
|
|
Disallow: /c/ # ลิงก์ย่อสำหรับแชร์ (302 ไปหน้าโรงหนังจริง)
|
|
|
|
# ── AI crawlers: ไม่อนุญาตให้นำเนื้อหาไปใช้ ─────────────────────
|
|
# (รวมถึงการฝึกโมเดล/สรุปเนื้อหาของผู้ให้บริการ AI)
|
|
User-agent: GPTBot
|
|
Disallow: /
|
|
|
|
User-agent: OAI-SearchBot
|
|
Disallow: /
|
|
|
|
User-agent: ChatGPT-User
|
|
Disallow: /
|
|
|
|
User-agent: ClaudeBot
|
|
Disallow: /
|
|
|
|
User-agent: Claude-Web
|
|
Disallow: /
|
|
|
|
User-agent: anthropic-ai
|
|
Disallow: /
|
|
|
|
User-agent: Google-Extended
|
|
Disallow: /
|
|
|
|
User-agent: Applebot-Extended
|
|
Disallow: /
|
|
|
|
User-agent: PerplexityBot
|
|
Disallow: /
|
|
|
|
User-agent: Perplexity-User
|
|
Disallow: /
|
|
|
|
User-agent: CCBot
|
|
Disallow: /
|
|
|
|
User-agent: Bytespider
|
|
Disallow: /
|
|
|
|
User-agent: Amazonbot
|
|
Disallow: /
|
|
|
|
User-agent: meta-externalagent
|
|
Disallow: /
|
|
|
|
User-agent: cohere-ai
|
|
Disallow: /
|
|
|
|
User-agent: Diffbot
|
|
Disallow: /
|
|
|
|
User-agent: ImagesiftBot
|
|
Disallow: /
|
|
|
|
User-agent: Omgilibot
|
|
Disallow: /
|
|
|
|
User-agent: Timpibot
|
|
Disallow: /
|
|
|
|
User-agent: VelenPublicWebCrawler
|
|
Disallow: /
|
|
|
|
User-agent: YouBot
|
|
Disallow: /
|
|
|
|
Sitemap: https://alterflixhub.hobbypj.com/sitemap.xml
|