adobe-apiplatform/apigateway

How to proxy HTTPS requests?

coderluy opened this issue · 1 comments

I run apigateway w/o Marathon and Mesos. After I edited /etc/host and added the upstream entry manually into /etc/api-gateway/environment.conf.d/api-gateway-upstreams.http.conf

upstream microservice {  
 server microservice:8080 fail_timeout=10s;           
 keepalive 16;
}

I could access my microservice via http://microservice.api.localhost/.

However, I couldn't figure out a way to proxy HTTPs request to another service listening on port 443. Does apigateway support HTTPs access?

Figured out how to do this with nginx configuration.

server {
...
  proxy_pass https://$server_name
}