freeCodeCamp / demo-projects

Example certification projects for our programming curriculum
https://www.freecodecamp.org/learn
BSD 3-Clause "New" or "Revised" License
142 stars 89 forks source link

feat: use tls internal for Caddy #598

Closed raisedadead closed 3 months ago

raisedadead commented 3 months ago

This PR updates the Caddyfile script generator to use the tls internal directive with Caddy to allow for full SSL behaviour from Cloudflare. We used to use LE-based certificates but they are redundant since we use Cloudflare.

raisedadead commented 3 months ago

This change is already hot-patched on the server.