feat(docker): nginx static-export image + Dokploy compose with env-driven PORT/origin

- 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
This commit is contained in:
Bkk1234 committed 2026-11-22 22:48:12 +07:00
1 parent f6b5ba112b
commit ae34597847
44 files changed
+416 -136

No files matched your search

+33 -33
View File
@@ -1,167 +1,167 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://127.0.0.1:8090/</loc>
<loc>https://alterflixhub.hobbypj.com/</loc>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/for-film-lovers</loc>
<loc>https://alterflixhub.hobbypj.com/for-film-lovers</loc>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/for-cinemas</loc>
<loc>https://alterflixhub.hobbypj.com/for-cinemas</loc>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/about</loc>
<loc>https://alterflixhub.hobbypj.com/about</loc>
<changefreq>yearly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/house-cinema-samyan</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/house-cinema-samyan</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/thana-cineplex</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/thana-cineplex</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/century-the-movie-plaza</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/century-the-movie-plaza</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/century-the-movie-plaza-sukhumvit</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/century-the-movie-plaza-sukhumvit</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/ck-multiplex</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/ck-multiplex</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/major-hollywood</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/major-hollywood</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/coliseum-paradise</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/coliseum-paradise</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/alliance-francaise-de-bangkok</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/alliance-francaise-de-bangkok</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/cinema-oasis</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/cinema-oasis</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/the-friese-greene-club</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/the-friese-greene-club</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/thai-film-archive</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/thai-film-archive</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/doc-club-and-friends</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/doc-club-and-friends</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/sala-saneha</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/sala-saneha</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/lido-connect</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/lido-connect</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/dech-udom-theatre</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/dech-udom-theatre</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/muangthong-rama</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/muangthong-rama</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/phok-bookshop-cinema</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/phok-bookshop-cinema</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/wednesday-shine</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/wednesday-shine</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/mecani</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/mecani</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/kku-cinema</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/kku-cinema</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/mvp-cinema</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/mvp-cinema</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/nevada-multiplex</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/nevada-multiplex</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/suen-heng-multiplex-sisaket</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/suen-heng-multiplex-sisaket</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/homeflick</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/homeflick</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/loprama</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/loprama</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/chumphae-cineplex</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/chumphae-cineplex</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/srisakon-cineplex</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/srisakon-cineplex</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/phahol-theatre</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/phahol-theatre</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://127.0.0.1:8090/cinema/nang-loeng-cinema-sala-chalerm-thani</loc>
<loc>https://alterflixhub.hobbypj.com/cinema/nang-loeng-cinema-sala-chalerm-thani</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>