I have added the line default_url_options to the productive environment configuration.