diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-02 22:58:56 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-02 22:58:56 +0900 |
| commit | 88be3b3f503d4674d764a7265edb2d4e380ae738 (patch) | |
| tree | 0018d96f2a683f7e025327cba51c28249122f53c /proxy/install.sh | |
| parent | 2854b063b4cea071be2e90eb059fef095c26d9a1 (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 'proxy/install.sh')
| -rw-r--r-- | proxy/install.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/proxy/install.sh b/proxy/install.sh new file mode 100644 index 0000000..58a8e53 --- /dev/null +++ b/proxy/install.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail +cd "$(dirname "$0")" + +echo "=== Proxy Install: proxy.yyamashita.com ===" +bash "$(pwd)/renew-cert.sh" + +echo "" +echo "=== Proxy 起動完了 ===" +echo " アドレス: https://proxy.yyamashita.com:8443" +echo " 認証: VPN と同じユーザー名/パスワード (Basic 認証)" +echo " 証明書の更新: bash /app/infra/proxy/renew-cert.sh" |
