https://github.com/smxl/caddy
Caddy2 with Addons Config Example
https://github.com/smxl/caddy
amd64 arm64 brotli cloudflare fileserver forwardproxy http2 linux naiveproxy quic trojan-gfw webdav workflow x86 xcaddy
Last synced: about 1 month ago
JSON representation
Caddy2 with Addons Config Example
- Host: GitHub
- URL: https://github.com/smxl/caddy
- Owner: smxl
- Created: 2022-11-17T03:08:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T05:02:29.000Z (4 months ago)
- Last Synced: 2025-02-15T05:45:39.677Z (3 months ago)
- Topics: amd64, arm64, brotli, cloudflare, fileserver, forwardproxy, http2, linux, naiveproxy, quic, trojan-gfw, webdav, workflow, x86, xcaddy
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caddy
Caddy2 with Addons trojan, naiveproxy
```
xcaddy build latest \
--with github.com/imgk/caddy-trojan \
--with github.com/caddyserver/forwardproxy@caddy2=github.com/klzgrad/forwardproxy@naive
...
```## Config Example
### trojan
```
order trojan before reverse_proxyservers {
listener_wrappers {
trojan
}
}
trojan {
caddy
no_proxy
users PASSWORD
}:443, https://DOMAIN {
trojan {
connect_method
websocket
}
}
```### naive
```
:443, https://DOMAIN {
route {
forward_proxy {
basic_auth USER PASSWORD
hide_ip
hide_via
probe_resistance
}
}
}
```#### naive client
https://github.com/klzgrad/naiveproxy/releases/latest