HUB
Sign inSign up

autres/nginx

By autres

•Updated over 6 years ago

Image
0

3.4K

autres/nginx repository overview

latest⁠

⁠说明

使用alpine自带软件nginx, 时区更改为中国上海,端口暴露80和443

⁠启动nginx

将nginx.conf⁠放到conf目录下

docker run -itd --name=nginx -p 80:80 -p 443:443 --restart=always -v "$(pwd)/wwwroot":/var/wwwroot -v "$(pwd)/wwwlogs":/var/wwwlogs -v "$(pwd)/conf":/etc/nginx autres/nginx

Tag summary
Recent tags
Content type
Image
Digest
Size
4.8 MB
Last updated
over 6 years ago
docker pull autres/nginx:latest