Skip to content

Commit ce2fec6

Browse files
authored
feat: use tls internal for Caddy (#598)
1 parent aa93971 commit ce2fec6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/create-caddyfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ http:// {
1818
}
1919
2020
www.freecodecamp.rocks {
21+
tls internal
2122
handle /ping {
2223
respond "pong" 200
2324
}
@@ -38,6 +39,7 @@ for (const serviceName in services) {
3839

3940
caddyfile += `
4041
${subdomain}.${process.env.DEMO_APPS_DOMAIN} {
42+
tls internal
4143
reverse_proxy ${target}
4244
}
4345
`;

0 commit comments

Comments
 (0)