Nginx + Docker

Manage Nginx in Docker Without the Config File

InfraPilot gives you a visual Nginx control panel inside Docker. Add proxy hosts, provision SSL automatically, set security headers, and monitor traffic, no nginx.conf editing required. It is one part of InfraPilot, the self-hosted platform that also deploys your apps, runs your environments, and monitors them.

$curl -fsSL https://infrapilot.sh | bash

One command · Nginx included · No nginx.conf to manage

0
Lines of nginx.conf
< 2 min
To add a proxy host
Auto
SSL renewal
Free
Community Edition

Nginx Feature Set

Everything Nginx, nothing to configure

InfraPilot bundles Nginx and exposes every configuration option through a visual interface. Your containers get reverse-proxied correctly on the first try.

Visual Proxy Host Editor

Add, edit, and delete proxy hosts via a clean form. Point to any container by name or IP:port. Changes apply instantly, no nginx.conf editing, no reload commands.

  • Add / edit / delete proxy hosts
  • Container name as upstream target
  • Custom locations & rewrite rules
  • Instant apply, live Nginx reload

Auto SSL with Let's Encrypt

SSL certificates provisioned automatically for every proxy host. HTTP-01 and DNS challenge support. Auto-renewed 30 days before expiry, no cron jobs.

  • Auto-provision on host creation
  • 30-day pre-expiry renewal
  • HTTP-01 & DNS challenge
  • TLS health scoring & alerts

Security Headers & Access Control

Set HSTS, CSP, X-Frame-Options, and Referrer-Policy per proxy host. Add IP allowlists or denylists. Enable Basic Auth, no external auth server needed.

  • HSTS, CSP, X-Frame-Options
  • Referrer-Policy & Permissions-Policy
  • IP allowlists / denylists per host
  • Basic auth per proxy host

Traffic Analytics per Host

Live request rate, error rate, status-code breakdown, and top URL paths per proxy host. See exactly what's hitting your services in real time.

  • Live request & error rate
  • Status-code breakdown (2xx / 4xx / 5xx)
  • Top URL paths per host
  • 7-day retention on Pro

Nginx Access & Error Logs

Stream Nginx access and error logs in real time alongside your Docker container logs, all in one view. Filter by host, status code, IP, or time range.

  • Real-time WebSocket log stream
  • Filter by host / status / IP
  • Time-range picker
  • Side-by-side with container logs

Docker-Native Networking

Nginx runs inside the InfraPilot container and connects to Docker containers by name, no IP management. Dynamically attach proxy hosts to any Docker network.

  • Container name as upstream (no IPs)
  • Automatic Docker network discovery
  • Dynamic network attachment
  • Zero changes to your host OS

Before vs After

Manual Nginx vs InfraPilot

Stop fighting nginx.conf. Every task that used to require a terminal now takes a few clicks.

TaskManual NginxInfraPilot
Add a proxy hostEdit nginx.conf + reloadFill a form, done
SSL certificatesCertbot cron + manual configAuto-provisioned on save
Apply config changesnginx -s reload in containerLive reload from dashboard
Security headersnginx.conf directivesToggles per proxy host
Traffic visibilitygrep access.logReal-time analytics UI
IP access controlallow/deny directivesAllowlist/denylist per host
Upstream = container nameContainer IP (changes often)Container name (stable)

Architecture

Nginx lives inside InfraPilot

No separate Nginx container to maintain. InfraPilot ships with Nginx built in, configured entirely through the dashboard. One Docker pull, zero nginx.conf files.

Nginx included

Ships inside the InfraPilot container, no separate setup or image

Container-name routing

Upstream targets use Docker container names, IPs never change

Config fully managed

InfraPilot writes and reloads nginx.conf for you. No manual edits ever.

Quick Start

Nginx in Docker in 3 steps

01

Get your free license key

# infrapilot.org/signup, no credit card
# Key: IP-CE-XXXX-XXXX-XXXX
02

Run the one-line installer

curl -fsSL https://infrapilot.sh | bash
03

Add your first Nginx proxy host

# Open http://your-server-ip
# Dashboard → Proxy Hosts → Add Host → Save

Stop editing nginx.conf. Start shipping.

Free Community Edition. Self-hosted. Nginx included. Deploy in under 5 minutes.

Works on any server running Docker · AGPL-3.0 Community Edition · No vendor lock-in