2024-02-02, 07:53 PM
You have two options, have them listen on separate ports or have them listen for specific subdomains (only applicable if you use domains at all).
Something like this (I don't use caddy, just reading docs).
Something like this (I don't use caddy, just reading docs).
Code:
localhost:80{
encode gzip
reverse_proxy localhost:8096
}
localhost:8080{
reverse_proxy localhost:13378
}