Nginx Proxy Manager
A domain and certificate for KumoYami from the Nginx Proxy Manager interface.
Nginx Proxy Manager (NPM) manages domains and Let's Encrypt certificates from a web interface. It's a common sight on NAS boxes and home servers that already run several containers.
How NPM reaches KumoYami
NPM runs in its own container, so to it 127.0.0.1 means itself, not the server. There are two ways to connect them:
If you used the installer
The installer replaces docker-compose.yml when you run it again (keeping a .bak-DATE copy), but it leaves alone
any docker-compose.override.yml it didn't create. That's why network changes are best kept in the override. If you
gave the installer a domain, remove its Caddy first with --no-caddy: NPM needs ports 80 and 443.
Create the proxy
In NPM, Hosts → Proxy Hosts → Add Proxy Host:
- Details: in Domain Names, your domain (
nube.example.com). Schemehttp; Forward Hostname / IP and Forward Port as per the option above (weband3000, or the machine's IP and4890). Turn on Block Common Exploits. - SSL: Request a new SSL Certificate, and turn on Force SSL and HTTP/2 Support.
Save and open https://nube.example.com/admin.
Large files and WebDAV
NPM runs Nginx under the hood. If large uploads or the WebDAV network drive fail with a 413 error, add this in the proxy host's Advanced tab:
client_max_body_size 0;
proxy_request_buffering off;