Skip to content

Commit f056c1a

Browse files
committed
🚧 Nginx
1 parent 8de1559 commit f056c1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

markdown-file/Nginx-Install-And-Settings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ http {
7474
}
7575
```
7676

77+
- 官网镜像:<https://hub.docker.com/_/nginx/>
7778
- 下载镜像:`docker pull nginx:1.12.2`
7879
- 运行容器:`docker run --name youmeek-nginx -p 80:80 -v /data/docker/nginx/html:/usr/share/nginx/html:ro -v /data/docker/nginx/conf.d:/etc/nginx/conf.d -v /data/docker/nginx/logs:/var/log/nginx -v /data/docker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx:1.12.2`
7980
- 重新加载配置(目前测试无效,只能重启服务):`docker exec -it youmeek-nginx nginx -s reload`

0 commit comments

Comments
 (0)