Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 256 Bytes

docker_nginx.md

File metadata and controls

7 lines (5 loc) · 256 Bytes

install nginx in docker

  • docker拉起nginx,nginx不应该在后台运行;使用sleep infinity
cd bin/ && cp ../conf/nginx.conf /data/services/nginx/openresty/nginx/conf/ && /data/services/nginx/openresty/nginx/sbin/nginx; sleep infinity