docker run -d --name alltube --log-opt max-size=50m --restart unless-stopped rudloff/alltube
{
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
email [email protected]
}
www.doesnt-exists.com {
redir https://doesnt-exists.com{uri} permanent
}
doesnt-exists.com {
reverse_proxy {
header_up X-Forwarded-Proto https
to alltube:80
}
}
docker run -d --name caddy --log-opt max-size=50m --restart unless-stopped --link alltube:alltube -p 80:80 -p 443:443 -v $(pwd)/Caddyfile:/etc/caddy/Caddyfile -v $(pwd)/caddy_data:/data caddy/caddy