Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a4460888af | |||
| 11e0176e40 | |||
| 160c23ab8b | |||
| 2b1d862d3b | |||
| 9de7abc3fb | |||
| c6fc228c66 | |||
| e9b2e958d2 | |||
| dc3dd4a40b | |||
| 44df489406 | |||
| 1bb1b0d476 |
@@ -45,7 +45,12 @@ public static class Setup
|
||||
services.Configure<ForwardedHeadersOptions>(options =>
|
||||
{
|
||||
options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
|
||||
|
||||
options.KnownProxies.Clear();
|
||||
options.KnownIPNetworks.Clear();
|
||||
|
||||
options.ForwardLimit = null;
|
||||
options.RequireHeaderSymmetry = false;
|
||||
});
|
||||
|
||||
return services;
|
||||
|
||||
@@ -11,7 +11,7 @@ metadata:
|
||||
namespace: midrandbooks-uat
|
||||
data:
|
||||
ASPNETCORE_ENVIRONMENT: "Development"
|
||||
ASPNETCORE_URLS: "https://0.0.0.0:8443"
|
||||
ASPNETCORE_URLS: "http://0.0.0.0:8443"
|
||||
Monitoring__Address: "http://aspire-dashboard-service.aspire.svc.cluster.local:18889"
|
||||
Monitoring__ServiceName: "MidrandBooks.Uat"
|
||||
HasherSettings__MinHashLength: "11"
|
||||
@@ -194,14 +194,14 @@ spec:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8443
|
||||
scheme: HTTPS
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8443
|
||||
scheme: HTTPS
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 5
|
||||
volumes:
|
||||
@@ -244,6 +244,11 @@ spec:
|
||||
services:
|
||||
- name: midrandbooks-service
|
||||
port: 443
|
||||
scheme: https
|
||||
sticky:
|
||||
cookie:
|
||||
name: "lp-sticky-session"
|
||||
httpOnly: true
|
||||
secure: true
|
||||
scheme: http
|
||||
serversTransport: midrandbooks-bypass-backend-validation
|
||||
tls: {}
|
||||
|
||||
Reference in New Issue
Block a user