You can translate the question and the replies:

Rest-Service over Reverse-Proxy: How to change protocol from http->https in Swagger definition?

Hi! we are exposing denodo rest-services over a reverse-proxy (haproxy) which terminates the https-connection and forwards the REST-requests towards the Denodo REST-services (tomcat) via http. Unfortunately, the swagger base_url still uses http (and not https). Tried various settings described here but it did not work: https://community.denodo.com/docs/html/browse/latest/en/vdp/administration/server_configuration/web_services_settings/web_services_settings#global-settings-of-rest-web-services Is there any mechanism in order to switch the http-protocol within swagger-definitions from http to https? Thanks
user
24-10-2022 03:54:55 -0400
code

2 Answers

Hi, For your scenario, I would make sure to **redeploy** the REST web service for the changes to take effect. Because whenever you make any changes in the global settings of the REST web service it is necessary to redeploy the Rest web service to apply the changes. You could refer to the [**Global Settings of REST Web Services**](https://community.denodo.com/docs/html/browse/latest/en/vdp/administration/server_configuration/web_services_settings/web_services_settings#global-settings-of-rest-web-services) section of the Virtual DataPort Administration Guide for more details about configuring the Rest web service. Hope this helps!
Denodo Team
25-10-2022 10:28:38 -0400
code
Hi, I did as suggested but it did not had any effect on the http-prefixes within the openAPI v3 definition. Any other idea how to change the urls within the openAPI v3 definitions from http->https in reverse-proxy scenarios?
user
02-11-2022 11:47:00 -0400
You must sign in to add an answer. If you do not have an account, you can register here