There’s a hidden feature to do this already — it just needs a UI. You can search the source code for how the nginx config is generated. There’s a part that reads a configuration YAML file that can define redirects and reverse proxies.
2 Likes