Sign inSign up

alchemystudio/nginx-ssl

By alchemystudio

•Updated over 6 years ago

Image
0

316

alchemystudio/nginx-ssl repository overview

⁠基于nginx的ssl测试服务容器

⁠部署结构

架构图:

⁠下载image

$ docker pull alchemystudio/nginx-ssl

⁠手工启动容器

$ docker run -it -p 443:443 alchemystudio/nginx-ssl sh

进入容器shell后启动nginx:

root# nginx

在host宿主访问服务:

$ curl -k -v https://localhost
$ curl -k -v --resolve foo.io:443:127.0.0.1 https://foo.io
$ curl -k -v --resolve bar.io:443:127.0.0.1 https://bar.io

⁠自动启动容器和服务

$ docker-compose pull
$ docker-compose up

⁠用到本容器的文章

Tag summary

Content type

Image

Digest

Size

84.2 MB

Last updated

over 6 years ago

docker pull alchemystudio/nginx-ssl