Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ace7eeef8e | |||
| 5c3ceeeb83 | |||
| e21fd59b12 | |||
| fcc0b3845e |
@@ -27,13 +27,6 @@ app.UseHealthChecks("/health", new HealthCheckOptions
|
||||
});
|
||||
|
||||
app.MapStaticAssets();
|
||||
app.Use((context, next) =>
|
||||
{
|
||||
if (context.Request.Host.Value!.Contains("midrandbooks.co.za", StringComparison.OrdinalIgnoreCase))
|
||||
context.Request.Scheme = "https";
|
||||
|
||||
return next();
|
||||
});
|
||||
app.UseCookiePolicy();
|
||||
|
||||
app.UseAuthentication();
|
||||
|
||||
@@ -48,7 +48,8 @@ metadata:
|
||||
name: midrandbooks
|
||||
namespace: midrandbooks-uat
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
revisionHistoryLimit: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
app: midrandbooks
|
||||
|
||||
Reference in New Issue
Block a user