Preparar migración a Cloudflare Pages (SSL Full→Strict)#2
Open
JoniMartin27 wants to merge 2 commits into
Open
Conversation
GitHub Pages tras el proxy CF sirve un cert de origen *.github.io → CF no puede validarlo y SSL queda en "Full" (Strict da 526). Para poder pasar a "Full (Strict)" hay que migrar el hosting a Cloudflare Pages. Prepara (inerte hasta que se conecte CF Pages en el dashboard): - scripts/build-pages.sh: stagea solo ficheros públicos a dist/ con la MISMA exclude-list que pages.yml + aborta si se filtra algún fichero de dev. - wrangler.toml: pages_build_output_dir = dist. - docs/cloudflare-pages-migration.md: pasos exactos del dashboard + verificación. No cambia el deploy actual (GitHub Pages vía pages.yml sigue mandando hasta el cambio manual en Cloudflare). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepara —sin cambiar el deploy actual— la migración del hosting de fervon.dev de GitHub Pages a Cloudflare Pages, único modo de poder activar SSL/TLS "Full (Strict)" (hoy GitHub Pages tras el proxy CF sirve un cert de origen
*.github.ioque CF no valida → Strict da 526; queda en "Full").Incluye (inerte hasta conectar CF Pages en el dashboard)
scripts/build-pages.sh— stagea solo los ficheros públicos adist/con la misma exclude-list que.github/workflows/pages.ymly aborta si se filtra algún fichero de dev (README/SETUP/package.json/index.js/scripts…), para no reabrir la fuga de ficheros de dev que se cerró.wrangler.toml—pages_build_output_dir = "dist".docs/cloudflare-pages-migration.md— pasos exactos del dashboard + verificación + rollback..gitattributes— fuerza LF en*.sh(evitabad interpreter: ^Men Linux).Notas
pages.ymlmanda y estos ficheros se excluyen de la publicación. La migración se completa con pasos manuales en el dashboard de Cloudflare (mi entorno no puede tocar tu cuenta CF ni el OAuth de GitHub).🤖 Generated with Claude Code