diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Development.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Development.json index 8983e0fc..39410514 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Development.json +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Development.json @@ -5,5 +5,21 @@ "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } + }, + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://localhost:5000", + "Protocols": "Http1AndHttp2" + }, + "Https": { + "Url": "https://localhost:44354", + "Protocols": "Http1AndHttp2" + }, + "gRPC": { + "Url": "http://localhost:81", + "Protocols": "Http2" + } + } } } diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Staging.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Staging.json new file mode 100644 index 00000000..c4e04d13 --- /dev/null +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Staging.json @@ -0,0 +1,100 @@ +{ + "ReverseProxy": { + "Routes": { + "Account Service": { + "ClusterId": "accountCluster", + "Match": { + "Path": "/api/account/{**everything}" + } + }, + "Administration Service": { + "ClusterId": "administrationCluster", + "Match": { + "Path": "/api/abp/{**everything}" + } + }, + "Catalog Service": { + "ClusterId": "catalogCluster", + "Match": { + "Path": "/api/catalog/{**everything}" + } + }, + "Basket Service": { + "ClusterId": "basketCluster", + "Match": { + "Path": "/api/basket/{**everything}" + } + }, + "Ordering Service": { + "ClusterId": "orderingCluster", + "Match": { + "Path": "/api/ordering/{**everything}" + } + }, + "Payment Service": { + "ClusterId": "paymentCluster", + "Match": { + "Path": "/api/payment/{**everything}" + } + }, + "product-picture-route": { + "ClusterId": "productPictureCluster", + "Match": { + "Path": "/product-images/{**everything}", + "Methods" : [ "GET" ] + } + } + }, + "Clusters": { + "accountCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-authserver" + } + } + }, + "administrationCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-administration" + } + } + }, + "catalogCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-catalog" + } + } + }, + "basketCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-basket" + } + } + }, + "orderingCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-ordering" + } + } + }, + "paymentCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-payment" + } + } + }, + "productPictureCluster": { + "Destinations": { + "destination1": { + "Address": "http://eshop-st-catalog" + } + } + } + } + } +}