Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: proxy_pass to istio ingressgateway (envoy)

$
0
0
I tried to accomplish same task in apache and it worked as expected.
```
<VirtualHost *:3900>
ServerName localhost

ProxyRequests off
SSLProxyEngine on
<Location /api-url>
RewriteEngine on
RewriteRule "^/api-url/(.*)$ /$1"
ProxyPass "https://myapp.com"
ProxyPassReverse "https://myapp.com"
</Location>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>
```
I would prefer to use nginx though. If I can't figure it out soon I will have to do a packet capture to compare requests.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>