Compare commits
4 Commits
1.54
...
ace7eeef8e
| Author | SHA1 | Date | |
|---|---|---|---|
| ace7eeef8e | |||
| 5c3ceeeb83 | |||
| e21fd59b12 | |||
| fcc0b3845e |
@@ -27,13 +27,6 @@ app.UseHealthChecks("/health", new HealthCheckOptions
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.MapStaticAssets();
|
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.UseCookiePolicy();
|
||||||
|
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ metadata:
|
|||||||
name: midrandbooks
|
name: midrandbooks
|
||||||
namespace: midrandbooks-uat
|
namespace: midrandbooks-uat
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
|
revisionHistoryLimit: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: midrandbooks
|
app: midrandbooks
|
||||||
|
|||||||
Reference in New Issue
Block a user