diff --git a/server/config/traefik/config/middlewares.yaml b/server/config/traefik/config/middlewares.yaml index ee4ec76..2c6b976 100644 --- a/server/config/traefik/config/middlewares.yaml +++ b/server/config/traefik/config/middlewares.yaml @@ -31,20 +31,17 @@ http: server: "" sslProxyHeaders: X-Forwarded-Proto: https + X-Scheme: https referrerPolicy: "same-origin" hostsProxyHeaders: - "X-Forwarded-Host" customRequestHeaders: X-Forwarded-Proto: "https" + X-Scheme: "https" contentTypeNosniff: true browserXssFilter: true forceSTSHeader: true stsIncludeSubdomains: true stsSeconds: 63072000 stsPreload: true - testSchemeHeaders: - headers: - customResponseHeaders: - X-Scheme: https - customRequestHeaders: - X-Forwarded-Proto: "https" +