summaryrefslogtreecommitdiff
path: root/caddy/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'caddy/Caddyfile')
-rw-r--r--caddy/Caddyfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/caddy/Caddyfile b/caddy/Caddyfile
index 66a9d05..46a6c92 100644
--- a/caddy/Caddyfile
+++ b/caddy/Caddyfile
@@ -44,5 +44,12 @@ blog.yyamashita.com {
vpn.yyamashita.com {
header Referrer-Policy "no-referrer"
header X-Robots-Tag "noindex, nofollow"
+ route /ca.pem {
+ header Content-Type "application/x-pem-file"
+ header Content-Disposition "attachment; filename=\"vpn-ca.pem\""
+ file_server {
+ root /etc/caddy
+ }
+ }
respond "VPN Server" 200
}