0
327992883@qq.com created
After the blazer server is deployed through nginx, when requesting the auth service redirect _uri is http instead of https, and through the logs of the auth service redirect _uri is also http, this redirect_uri How does need to be configured to obtain https?
3 Answer(s)
-
0
hi
app.Use((httpContext, next) => { httpContext.Request.Scheme = "https"; return next(); });
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-7.0#when-it-isnt-possible-to-add-forwarded-headers-and-all-requests-are-secure
-
0
-
0
hi
After the blazer server is deployed through nginx
Is your website deployed as
https
?https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-7.0&tabs=linux-ubuntu
Can you share an online URL?
liming.ma@volosoft.com