Public Repository

Last pushed: 2 years ago
Short Description
裡面有裡面有varnish與nginx的反向代理
Full Description

基本上使用了這個https://github.com/jwilder/nginx-proxy

但是啟動時,我加入了varnish
不啟動varnish
docker run -d -p 80:80 -p 443:443 -v /path/to/certs:/etc/nginx/certs -v /var/run/docker.sock:/tmp/docker.sock:ro wazlo2004/nginx-proxy

啟動varnish
docker run -d -p 80:8080 -p 443:443 -v /path/to/certs:/etc/nginx/certs -v /var/run/docker.sock:/tmp/docker.sock:ro wazlo2004/nginx-proxy

(因為varnish要手動啟用)
進入docker container
docker exec -ti <dockername> /bin/bash
啟動varish
service varnish start

Docker Pull Command
Owner
wazlo2004

Comments (0)