Tag: finally

  • ssl and https with letsencrypt!

    nomorecubes.net now (finally) leverages https!

    It has a certificate from letsencrypt, automatically verified by the service, maintained and deployed by docker-letsencrypt-nginx-proxy-companion.

    The deployment has been considerably easy through docker-compose, adding the container to the existing nginx-proxy like this:

    version: '2'
    
    services:nginx-proxy:
     image: jwilder/nginx-proxy
     container_name: nginx-proxy
     ports:
     - "80:80"
     - "443:443"
     volumes:
     - "./certs:/etc/nginx/certs:ro"
     - "/etc/nginx/vhost.d"
     - "/etc/nginx/conf.d"
     - "/usr/share/nginx/html"
     - "/var/run/docker.sock:/tmp/docker.sock:ro"
     letsencrypt:
     image: jrcs/letsencrypt-nginx-proxy-companion
     volumes:
     - "/var/run/docker.sock:/var/run/docker.sock:ro"
     - "./certs:/etc/nginx/certs:rw"
     volumes_from:
     - nginx-proxy