Allow serving in subpath
Redirections can be tricky if the server can not be served with a different subpath.
When we serve the API using a subpath that rewrites to the root it will cause wrong redirection locations causing the base subpath will be missing.
Example:
-> https://earth.bsc.es/autosubmitapi/redirect -> host/redirect -> return Redirect(Location=/target_location) -> https://earth.bsc.es/target_location -> 404