Public Repository

Last pushed: 2 years ago
Short Description
Nginx
Full Description

Source


Deployment

mkdir -p /data/nginx/etc /data/nginx/{log,www}/default

tar xvf etc.tar.gz -C /data/nginx/

tar xvf www.tar.gz -C /data/nginx/

docker run -p 80:80\
           -p 443:443 \
           -v /data/nginx/etc:/etc/nginx \
           -v /data/nginx/log:/nginx/log \
           -v /data/nginx/www:/nginx/www \
           -d --name nginx \
           taxkiz/nginx:1.10.0

docker exec -it nginx ln -svf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

docker restart nginx
Docker Pull Command
Owner
taxkiz