Sign inSign up

vtacquet/proxy

By vtacquet

•Updated over 7 years ago

Creates a proxy to handle SSL certificates and requests with Lets Encrypt.

Image
0

1.4K

vtacquet/proxy repository overview

Description: Creates a proxy to handle SSL certificates and requests with Lets Encrypt. You can personalize the Caddyfile page by mounting another file (see below).

Example docker-compose entry:

proxy:
  hostname: proxy
  container_name: proxy
  image: vtacquet/proxy
  volumes:
   - /etc/localtime:/etc/localtime:ro
   - /opt/docker/proxy/Caddyfile:/srv/Caddyfile
   - /opt/docker/proxy/certs:/root/.caddy
  ports:
   - "80:80"
   - "443:443"
  links:
   - speedtest

speedtest:
  hostname: speedtest
  container_name: speedtest
  image: vtacquet/speedtest
  volumes:
   - /etc/localtime:/etc/localtime:ro
   - /opt/docker/speedtest/index.html:/site/index.html:ro

Example Caddyfile:

speedtest.yourdomain.com {

    errors stderr

    proxy / speedtest:80 {
        transparent
    }

    tls [email protected]
}

Tag summary

Content type

Image

Digest

Size

49.9 MB

Last updated

over 7 years ago

docker pull vtacquet/proxy