728x90 반응형 nginx docker1 Nginx on Docker Run Nginx on Docker 1. Create Dockerfile1234FROM nginxCOPY html /usr/share/nginx/html # html directory of contentADD nginx.conf /etc/nginx/nginx.conf # nignx config fileCMD ["nginx", "-g", "daemon off;"]cs 2.Create nginx.conf1234567891011121314user nobody nogroup;worker_processes auto; # auto-detect number of logical CPU cores events { worker_connections 512; # set the max number of simultaneous.. 2017. 3. 30. 이전 1 다음 728x90 반응형