This is an example on how to use WireGuard Easy with nginx, to access it on a HTTPS domain (e.g. https://wg-easy.myhomelab.com).
docker-compose.yml:
~/.nginx/servers/wg-easy.conf:
Save these files, edit the variables marked with ⚠️ and run docker-compose up -d in the same directory.
Then run once:
Of course, make sure to point wg-easy.myhomelab.com to your server's IP address with a DNS A record or DynamicDNS or any other method. Ensure ports 80, 443, 51820 are available (e.g. by forwarding them in your router).
That's it!