docker pull nginx
docker run --name nginx -d -p 80:80 -p 443:443 --restart=always -v /home/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v /home/nginx/log:/var/log/nginx -v /home/nginx/cert:/etc/nginx/cert -v /etc/localtime:/etc/localtime:ro -v /home/www/html:/usr/share/nginx/html nginx