Public | Automated Build

Last pushed: a year ago
Short Description
Nginx with PHP FPM and CertBot, along with Fail2Ban.
Full Description

This container sets up an Nginx webserver and reverse proxy with php support and a built-in letsencrypt client that automates free SSL server certificate generation and renewal processes. It also contains fail2ban for intrusion prevention.

Before running this container, make sure that the url and subdomains are properly forwarded to this container's host.

Port 443 on the internet side of the router should be forwarded to this container's port 443.

If you need a dynamic dns provider, you can use the free provider where the url will be and the subdomains can be www,ftp,cloud

The container detects changes to url and subdomains, revokes existing certs and generates new ones during start. It also detects changes to the DHLEVEL parameter and replaces the dhparams file.

If you'd like to password protect your sites, you can use htpasswd. Run the following command on your host to generate the htpasswd file "letsencrypt htpasswd -c /config/nginx/.htpasswd <username>"

Docker Pull Command
Source Repository