authelia attempt failed

This commit is contained in:
Bel LaPointe
2021-04-18 12:20:19 -05:00
parent af240639cb
commit ef3abbbf07
2 changed files with 12 additions and 3 deletions

View File

@@ -69,6 +69,8 @@ func (rp *redirPurge) RoundTrip(r *http.Request) (*http.Response, error) {
if loc := resp.Header.Get("Location"); loc != "" {
resp.Header.Set("Location", strings.Replace(loc, rp.targetHost, rp.proxyHost, 1))
}
// google floc https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
resp.Header.Set("Permissions-Policy", "interest-cohort=()")
return resp, err
}