Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 716 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 716 Bytes

WIP - LVH (OpenLitespeed - Varnish - Haproxy)

Test Docker Compose

How to use

docker-compose up -d That's it!

At the first run

docker-compose exec litespeed /bin/sh /usr/local/lsws/admin/misc/admpass.sh

Let's Encrypt SSL certificate request

Run inside LVH directory:

docker run -it --rm --name certbot \
    -v "$(pwd)/letsencrypt:/etc/letsencrypt" \
    -v "/root/.cloudflare:/root/.cloudflare" \
    certbot/dns-cloudflare certonly --dns-cloudflare --dns-cloudflare-credentials /root/.cloudflare/cloudflare.ini \
    -d datuan.dev -d *.datuan.dev