create your Caddyfile, the content example:
:443, xxx.xxx.com
{
tls [email protected] {
protocols tls1.2 tls1.3
ciphers TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_RSA_WITH_AES_128_GCM_SHA256
}
header {
Strict-Transport-Security "max-age=15768000; preload"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
}
route {
forward_proxy {
basic_auth admin password
hide_ip
hide_via
probe_resistance
}
#多用户模式在后面继续➕
# forward_proxy {
# basic_auth admin password
# hide_ip
# hide_via
# probe_resistance
#}
file_server { root /koo/wwwhtml }
}
}
1、mkdir Caddyfile, and fill your domain
2、docker run docker run -itd xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3、choose your client os: https://github.com/klzgrad/naiveproxy
if you have your own domain,need to a caddyfile and exec this command:
#!/bin/bash
# /root/crab/tools/docker/naive/Caddyfile:/koo/Caddyfile
# /root/crab/tools/docker/naive/Caddyfile 可以覆盖镜像中的 Caddyfile文件
docker run -itd --restart=always --network=host -m 300m --kernel-memory 310m --cpu-period=50000 --cpu-quota=25000 -p 443:443 --name naive93v0.0.2 -v /root/Caddyfile:/koo/Caddyfile -v /etc/localtime:/etc/localtime imrcrab/naive-server:v0.2
tks klzgrad.
Content type
Image
Digest
Size
15.7 MB
Last updated
about 5 years ago
docker pull imrcrab/naive-server:v0.2