Sign inSign up

sourcelair/ceryx

By sourcelair

•Updated over 5 years ago

A dynamic proxy, based on NGINX, using Redis as a backend and Let's encrypt for SSL certificates.

Image
5

50K+

sourcelair/ceryx repository overview

⁠Setting up dynamic SSL certificates with Let's encrypt

Let's encrypt⁠ is a free, automated, and open Certificate Authority.

This means that we can generate such certificates dynamically, each time a new HTTPS domain hits Ceryx. To do so, we'll use the great [lua-resty-auto-ssl](https://github.com/GUI/lua-resty-auto-ssl) library.

An example docker-compose.yaml file for this would be:

version: '2'

services:
  proxy:
    image: sourcelair/ceryx-proxy:dynamic-ssl
    ports:
      - 80:80
      - 443:443
    environment:
      - CERYX_REDIS_HOST=redis
      - CERYX_REDIS_PORT=6379
    restart: always

    ...

Tag summary

Content type

Image

Digest

Size

201.6 MB

Last updated

over 5 years ago

docker pull sourcelair/ceryx