summaryrefslogtreecommitdiff
path: root/caddy/Caddyfile
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-07-02 22:58:56 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-07-02 22:58:56 +0900
commit88be3b3f503d4674d764a7265edb2d4e380ae738 (patch)
tree0018d96f2a683f7e025327cba51c28249122f53c /caddy/Caddyfile
parent2854b063b4cea071be2e90eb059fef095c26d9a1 (diff)
Add HTTPS forward proxy service (Squid on port 8443)
- proxy/: Squid container with HTTPS port, Basic auth from vpn/users.conf - caddy/Caddyfile: add proxy.yyamashita.com block (RSA cert for compat) - git/hooks: add proxy/deploy.sh to post-receive hook - CLAUDE.md: document proxy setup and client config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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 952d039..5ab87a7 100644
--- a/caddy/Caddyfile
+++ b/caddy/Caddyfile
@@ -41,6 +41,13 @@ blog.yyamashita.com {
reverse_proxy microblog-app:3000
}
+proxy.yyamashita.com {
+ tls {
+ key_type rsa4096
+ }
+ respond "Proxy Server" 200
+}
+
vpn.yyamashita.com {
tls {
key_type rsa4096