dokku/dokku

Validate that a proxy set is actually a valid proxy

Closed this issue · 1 comments

Description of problem

After the splitting of the port map plugin functionality from the proxy plugin, users frequently set the proxy to a port map, causing routing to inexplicably not work. We should validate that the proxy is valid - maybe even just having a regex that ensures the characters are alphanumeric would be fine (or validating against plugin trigger that lists valid proxies).

Steps to reproduce

dokku proxy:set $APP http:80:3000
dokku nginx:build-config

dokku report $APP_NAME

N/A

Additional information

No response

Output of failing commands after running: dokku trace:off

No response

Output of failing commands after running: dokku trace:on

No response

Closing as there is a pull request open.