Skip to content

Instantly share code, notes, and snippets.

@pjoe
Created September 15, 2020 05:12
Show Gist options
  • Save pjoe/f85f400c666d36dde8c31502b881d60a to your computer and use it in GitHub Desktop.
Save pjoe/f85f400c666d36dde8c31502b881d60a to your computer and use it in GitHub Desktop.
codesrv-caddy
code.xyz.com
reverse_proxy {
to https://code.xyz.com:8080
transport http {
tls_insecure_skip_verify
}
}
version: "3"
services:
caddy:
image: caddy:2
restart: always
ports:
- 80:80
- 443:443
volumes:
- caddy:/data
- ./Caddyfile:/etc/caddy/Caddyfile
volumes:
caddy:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment