Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Docker Identityserver4 openid配置忽略运行nginx反向代理的主机端口_Docker_Nginx_Asp.net Core 2.0_Identityserver4 - Fatal编程技术网

Docker Identityserver4 openid配置忽略运行nginx反向代理的主机端口

Docker Identityserver4 openid配置忽略运行nginx反向代理的主机端口,docker,nginx,asp.net-core-2.0,identityserver4,Docker,Nginx,Asp.net Core 2.0,Identityserver4,我正在Windows中使用docker在Nginx反向代理后面设置Identity server4。它在myhost:5000上正常运行。但当访问时,会得到以下响应 端口号缺失但在开发环境中工作(即:) 我尝试了以下Identity server选项IssuerUri和PublicOrigin,但响应仍然相同 是否有其他解决方案可以获得端口号的响应 谢谢我也正面临着这个问题。 您需要在nginx的主机头中添加端口。 proxy\u set\u头主机$Host:$server\u端口 { "is

我正在Windows中使用docker在Nginx反向代理后面设置Identity server4。它在myhost:5000上正常运行。但当访问时,会得到以下响应 端口号缺失但在开发环境中工作(即:)

我尝试了以下Identity server选项IssuerUriPublicOrigin,但响应仍然相同

是否有其他解决方案可以获得端口号的响应


谢谢

我也正面临着这个问题。
您需要在nginx的主机头中添加端口。
proxy\u set\u头主机$Host:$server\u端口

{
"issuer":"http://myhost",
"jwks_uri":"http://myhost/.well-known/openid-configuration/jwks",
"authorization_endpoint":"http://myhost/connect/authorize",
"token_endpoint":"http://myhost/connect/token",
"userinfo_endpoint":"http://myhost/connect/userinfo",
"end_session_endpoint":"http://myhost/connect/endsession",
"check_session_iframe":"http://myhost/connect/checksession",
"revocation_endpoint":"http://myhost/connect/revocation",
"introspection_endpoint":"http://myhost/connect/introspect",
"frontchannel_logout_supported":true,
"frontchannel_logout_session_supported":true,
"backchannel_logout_supported":true,
"backchannel_logout_session_supported":true,    
}