Nav apraksta

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

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.