Issues when enabling SSL/https protocol with IdentityServer4 running besides Nginx web server. Problem: OpenId Connect discovery specification endpoint https://authserver.xxxxxxxxxxx.com/.well-known/openid-configuration returns wrong protocol. Refer to the screenshot on the right, it returns endpoints with HTTP protocol instead of HTTPS. Solution: To resolve this issue, we need …