暫無描述

greatbridf ebd0bbc8e9 add xray and warp into the complex 1 天之前
.gitignore ebd0bbc8e9 add xray and warp into the complex 1 天之前
Caddyfile.template 9330ea748b add dockerfile, docker compose config and caddy config template 2 天之前
Dockerfile 9330ea748b add dockerfile, docker compose config and caddy config template 2 天之前
README.md da44633183 show info about dirs in readme file 2 天之前
docker-compose.yml ebd0bbc8e9 add xray and warp into the complex 1 天之前
xray-config.json ebd0bbc8e9 add xray and warp into the complex 1 天之前

README.md

naiveproxy server encapsulated

Usage

First, copy Caddyfile.template to conf/Caddyfile and edit your configuration manually.

You would need to fill in your email (used to applying for TLS certs), your domain and your username and password for authentification. Alternatively, you can drop your other web services (such as static pages and reverse proxies) here.

Then, you can run:

docker run --rm -p 80:80 -p 443:443 -p 443:443/udp \
	-v ./conf:/conf -v ./data:/data -v ./log:/log \
	--name naiveserver naiveserver

or you can use docker compose:

docker-compose up -d

Directories explained

  • conf: This is the place where your config of caddy resides
  • data: Caddy will store TLS certs and etc here.
  • log: Caddy will write logs here.