通过代理转发后,webapi的swagger无法访问,本质原因是代理后url路径发生变化导致/swagger无法定位到json。 #https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbucklec.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");相关issue: https://github.com/microsoft/service-fabric-issues/issues/327 https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/662 https://gi...