Ingen beskrivning

greatbridf da44633183 show info about dirs in readme file 2 dagar sedan
.gitignore 9330ea748b add dockerfile, docker compose config and caddy config template 2 dagar sedan
Caddyfile.template 9330ea748b add dockerfile, docker compose config and caddy config template 2 dagar sedan
Dockerfile 9330ea748b add dockerfile, docker compose config and caddy config template 2 dagar sedan
README.md da44633183 show info about dirs in readme file 2 dagar sedan
docker-compose.yml 9330ea748b add dockerfile, docker compose config and caddy config template 2 dagar sedan

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.