Sign inSign up

zohaibq64/nginx-ssl-offload

By zohaibq64

•Updated over 1 year ago

Nginx image with SSL offloading preconfigured using a self-signed certificate.

Image
0

976

zohaibq64/nginx-ssl-offload repository overview

Nginx SSL Offloading Docker Image A ready-to-use Nginx Docker image with SSL offloading preconfigured. This image comes with a dummy self-signed certificate so you can test HTTPS immediately. Users only need to:
• Plug in their backend server
• Optionally provide real SSL certificates


✅ Features:
• Preconfigured for HTTPS (SSL/TLS)
• Automatically redirects HTTP → HTTPS
• Proxy setup for backend apps (e.g., Node.js, Python, PHP)
• Includes dummy self-signed certs (for testing/dev)
• Just build or pull and go!


🐳 How to Use:
sudo docker pull zohaibq64/nginx-ssl-offload

⁠Run the container

docker run -d -p 80:80 -p 443:443 zohaibq64/nginx-ssl-offload


🧩 Directory Structure
├── Dockerfile
├── nginx.conf
├── conf.d/
│ └── default.conf


🔧 Configuration
By default:
• nginx.conf includes everything in conf.d/
• default.conf handles SSL redirection and proxying
• Certs located in /etc/nginx/ssl/


📁 Add Your Own SSL Certificates
Replace dummy certs by mounting your own:
-v /path/to/certs:/etc/nginx/ssl
Or edit the Dockerfile to copy in your real certs.


🔐 Use Cases
• SSL offloading for apps in containers or bare metal
• Load balancer frontend for Dockerized microservices
• Quick HTTPS proxy in dev/staging environments

Tag summary

Content type

Image

Digest

sha256:fe26ff4a8…

Size

69 MB

Last updated

over 1 year ago

docker pull zohaibq64/nginx-ssl-offload