# Nginx SSL Proxy

Nginx SSL Proxy is a Docker image that runs Nginx as a reverse proxy to terminate SSL (Secure Sockets Layer) connections and optionally enforce basic access authentication, helping home server users safely expose.

Canonical page: https://ourlocalhost.com/app/5391/nginx-ssl-proxy

## Description

Nginx SSL Proxy is a Docker image that runs Nginx as a reverse proxy to terminate SSL (Secure Sockets Layer) connections and optionally enforce basic access authentication, helping home server users safely expose private applications; the upstream repository is archived and the project is no longer actively maintained.

## Platform availability

Available on 0 of 10 platforms.

## Health score

26/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 45 (184 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 53 (no serious findings, OpenSSF Scorecard 2/10)

## Links

- GitHub: https://github.com/GoogleCloudPlatform/nginx-ssl-proxy

## Common questions

### What files must I mount for SSL termination?

You must provide an existing SSL certificate and key. Mount the certificate to /etc/secrets/proxycert, the key to /etc/secrets/proxykey, and a DHE parameter file to /etc/secrets/dhparam.

### How do I tell the container which service to proxy to?

Set ENABLE_SSL=true and TARGET_SERVICE to the address or hostname you want to proxy to. TARGET_SERVICE is the destination for the reverse proxy.

### How do I enable HTTP basic access authentication?

Create an htpasswd file with a command like htpasswd -nb YOUR_USERNAME PASSWORD. This file is used to enforce HTTP basic access authentication.

### Can I deploy this for Kubernetes services?

The image is optimized for Kubernetes clusters to terminate SSL for other services. It should be deployed with a service and public load balancer, with certificates and secrets managed via Kubernetes Secrets.

## Alternatives

- Apache HTTP Server: Open-source HTTP server offering cross-platform support, modular architecture, secure configuration, robust content delivery, and extensive…
- BunkerWeb: BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Caddy: Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and r…
- Corvus: Self-hosted reverse proxy and web application firewall with a web console; it provides domain forwarding, free SSL, live traffic monitoring…
- Haproxy: HAProxy is a TCP proxy and a HTTP reverse proxy.
- Microsoft IIS: Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
- Træfik Proxy: The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
- Varnish: Varnish is an open-source HyperText Transfer Protocol (HTTP) accelerator for website operators that serves cached pages from memory in fron…
- lighttpd: Lighttpd is a secure, lightweight web server that uses memory and CPU more efficiently than comparable servers, with FastCGI, CGI, authenti…
- nginx: Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.
- nginx-ui

---
Source: Our Local Host (https://ourlocalhost.com/app/5391/nginx-ssl-proxy), the self-hosted and open-source app directory.
