Requirements
- A Minecraft server with Dynmap configured
- A VPS with atleast Ubuntu 22.04 deployed
- A ZeroSSL account (Optional)
- Root access to the aforementioned VPS
Caddy Deployment
Installation
First off, we need to install Caddy and add allow rules for both HTTP and HTTPS traffic to the UFW firewall.Generate ZeroSSL API Keys (Optional)
This step is optiona if you don’t want to use ZeroSSL as you’re provider. If you chose not to use ZeroSSL your certs will be deployed via LetsEncrypt however support for Google Trust Services can also be configured. You can go to the ZeroSSL developer console and select ‘Generate’ under ‘EAB Credentials’.Caddyfile Config
Below is an example configuration file. Edit it and save it as/etc/caddy/Caddyfile