Skip to content

Commit

Permalink
feat: use tls internal for Caddy (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead authored May 16, 2024
1 parent aa93971 commit ce2fec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/create-caddyfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ http:// {
}
www.freecodecamp.rocks {
tls internal
handle /ping {
respond "pong" 200
}
Expand All @@ -38,6 +39,7 @@ for (const serviceName in services) {

caddyfile += `
${subdomain}.${process.env.DEMO_APPS_DOMAIN} {
tls internal
reverse_proxy ${target}
}
`;
Expand Down

0 comments on commit ce2fec6

Please sign in to comment.