文件名称:docker-nginx:Nginx的预构建配置,包括letencrypt引导程序
文件大小:27KB
文件格式:ZIP
更新时间:2024-05-20 18:48:51
Shell
Nginx的 基本的nginx映像,带有预构建的nginx confs 用 FROM willfarrell/nginx COPY etc/nginx/conf/csp_policies.conf /etc/nginx/conf/ COPY etc/nginx/conf.d/ /etc/nginx/conf.d/ COPY www /var/www 测验 docker build -t base_nginx . docker rm -f base_nginx docker run --name base_nginx -p 80:80 -p 443:443 base_nginx docker-compose build docker-compose up -d letencrypt docker build --tag letsencrypt letsencrypt docker stop
【文件预览】:
docker-nginx-master
----etc()
--------ssl()
--------scripts()
--------nginx()
----Dockerfile(539B)
----.gitignore(632B)
----README.md(3KB)
----test()
--------env_regex_test.sh(125B)
--------env_regex_test.conf(144B)
--------crontab()
--------node()
----docker-compose.yml(554B)
----LICENSE(743B)
----usr()
--------share()
----www()
--------robots.txt(25B)
--------humans.txt(262B)
--------index.html(53B)
--------favicon.ico(318B)
----env()
--------nginx.env.sample(337B)
--------letsencrypt.env.sample(128B)
----.travis.yml(415B)
----docker-entrypoint.sh(264B)