Simple web application to showcase HTTP/2 performance
10K+
Execute the following commands to generate the required certificates:
mkdir certs
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./certs/nginx.key -out ./certs/nginx.crt
Create your docker compose file to load the image:
services:
nginx:
image: lorcopotia/my-http2-app:latest
ports:
- "443:443"
volumes:
- ./certs:/etc/nginx/certs:ro
restart: always
Run the next command to start the container:
docker compose up -d
Open https://localhost in your favorite web browser and inspect using Developer tools. You'll be looking for 'h2' in your protocol column.
Content type
Image
Digest
sha256:890e72237…
Size
19.7 MB
Last updated
almost 2 years ago
docker pull lorcopotia/my-http2-app