Sign inSign up

umarhegde007/nginx-ssl-proxy-testing

By umarhegde007

Updated almost 2 years ago

NGINX Image with SSL Certificate Configuration (For Testing)

Image
Security
Developer tools
Web servers
0

777

umarhegde007/nginx-ssl-proxy-testing repository overview

This image is a lightweight NGINX setup based on the nginx:alpine base image, pre-configured with SSL support for testing purposes. It includes a self-signed SSL certificate, allowing developers to quickly set up a secure reverse proxy for web applications in non-production environments.

Features:

  1. Includes OpenSSL for generating and managing SSL certificates.
  2. Pre-configured with a self-signed SSL certificate (valid for 365 days).
  3. Customizable NGINX configuration via nginx.conf.
  4. Lightweight, based on the minimal nginx:alpine image.
  5. Ideal for testing HTTPS configurations or development environments.

Ports:

80 for HTTP 443 for HTTPS

Usage:

Pull the image:

docker pull <your_dockerhub_username>/nginx-ssl-proxy-testing
Run the container:

docker run -d -p 80:80 -p 443:443 <your_dockerhub_username>/nginx-ssl-proxy-testing
Place your web application behind this proxy by configuring nginx.conf or using the default setup.

Notes:

For testing purposes only: Replace the self-signed SSL certificate with a certificate from a trusted Certificate Authority (CA) for production use. Customize the /etc/nginx/nginx.conf file to suit your application's needs.

Example Customization:

Mount a custom NGINX configuration file and your own SSL certificates as follows:

docker run -d -p 80:80 -p 443:443
-v /path/to/nginx.conf:/etc/nginx/nginx.conf
-v /path/to/ssl:/etc/nginx/nginx-certs
<your_dockerhub_username>/nginx-ssl-proxy-testing

Tag summary

Content type

Image

Digest

sha256:fe2901169

Size

22.1 MB

Last updated

almost 2 years ago

docker pull umarhegde007/nginx-ssl-proxy-testing