Hello,
I’m running Gitlab on Google Kubernetes Engine. Gitlab Pages serves static websites for URLs like my-project.example.io. I am trying to add nginx ingress rules to proxy something like my-project.com to Gitlab Pages as though the user requested my-project.example.com.
I have tried setting the nginx.ingress.kubernetes.io/upstream-vhost annotation to the desired pages URL, but it appears to still receive a request for my-project.com (which it does not understand). Does anyone have ideas on how to better accomplish this goal? My primary desire is to proxy to the internal service IP rather than the external IP for *.example.io.
P.S. Apologies for any bad formatting. I am completely blind, so sometimes that gets difficult.