Ideally, you should be able to set mode specific proxies for easier development. For example,
# Development (debug) mode configuration when using local backend.
mode :local_debug do
proxy "/", :to => "localhost:3000"
end
# Development (debug) mode configuration when using remote backend.
mode :remote_debug do
proxy "/", :to => "myhost.com:8080", :secure => true
end
But this doesn't work, because all proxy directives are read and later directives override earlier directives.
Ideally, you should be able to set mode specific proxies for easier development. For example,
But this doesn't work, because all proxy directives are read and later directives override earlier directives.