Hi,
I have a cluster with Istio Gateway and Virtual Services enabled for a service. Its on port 443 with TLS. When accessing externally, the application access logs are showing 127.0.0.1 as the source IP. I tried changing the externalTrafficPolicy to Local in the ingressgateway service, but no luck.
Application logs:
[09/Aug/2019:01:59:31 +0000] 127.0.0.1 “GET / HTTP/1.1” 404 (1 ms)
[09/Aug/2019:02:00:07 +0000] 127.0.0.1 “GET / HTTP/1.1” 404 (1 ms)
[09/Aug/2019:02:01:03 +0000] 127.0.0.1 “GET /id-123/products HTTP/1.1” 404 (1 ms)
[09/Aug/2019:02:01:33 +0000] 127.0.0.1 “GET /id-123/products HTTP/1.1” 404 (0 ms)
[09/Aug/2019:02:08:18 +0000] 127.0.0.1 “GET /id-123/products HTTP/1.1” 404 (1 ms)
[09/Aug/2019:02:08:24 +0000] 127.0.0.1 “GET /id-123/products HTTP/1.1” 404 (1 ms)
Thanks