How can I configure Traefik for AMP? I want to forward a Service (Dynmap with one subdomain) and 2 Applications (2 Minecraft Server/Instances with one subdomain each)
I’m afraid there’s no guide, it was shoehorned in as a beta feature because a couple of people requested it but I’ve personally never used Traefik and don’t know anything about it other than you could do some of the configuration automatically by adding the appropriate flags to the Docker containers.
You’d just treat Traefik like you would any other reverse proxy with AMP.
As long as you configure it correctly, it’ll work fine. https://discourse.cubecoders.com/t/setting-up-secure-http-https-with-amp/2305
(Just adapt the Nginx examples to Traefik)
If you set up AMP’s automated HTTPS setup, you’ll obvi need to remove Nginx from the system before Traefik will work.
To rebind the ADS to 127.0.0.1 you’d run: sudo su -l amp ampinstmgr rebind ADS01 127.0.0.1 8080
Assuming it’s a standalone setup, you’d ignore the repairauth warning.
Do note, that you cannot reverse proxy TCP/UDP game traffic unless the game server supports something like HA Proxy or TLS.