There is a Duende identity server (IS) running on a VM, behind an Nginx server. Nginx listens to port 443 and redirects the requests to IS running at 8080. When https://example.com/.well-known/openid-configuration
is visited, the issuer in the configuration is shown as "issuer":"https://127.0.0.1:8080"
because this is the address Nginx passes the requests to. However, it needs to be "issuer":"https://example.com"
because this is the configured OIDC Authority in the client.
How can this be achieved?