Skip to content

Test HTML content in a Docker Container. Based on the official Nginx Images, the configuration has been set up to also include includes HTTP2 and SSL support.

Notifications You must be signed in to change notification settings

stephenyu/docker-nginx-http2-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

Based on the official Nginx Images, this is includes HTTP2 support and SSL for the following domains:

  • localhost.dev
  • *.localhost.dev
  • localhost
  • 127.0.0.1
  • ::1

Hosting some simple static content

$ docker run -ti -v $PWD:/usr/share/nginx/html -p 80:80 -p 443:443 stephenyu/nginx-http2-ssl

SSL Certificate Authority

SSL Files have been generated using mkcert using the following command

$ mkcert -install localhost.dev "*.localhost.dev" localhost 127.0.0.1 ::1

About

Test HTML content in a Docker Container. Based on the official Nginx Images, the configuration has been set up to also include includes HTTP2 and SSL support.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published