Browse Source

fix: set securityTrustProxy to false by default

pull/6810/merge v2.5.301
Nicolas Giard 10 months ago
committed by GitHub
parent
commit
b1e1759f25
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions
  1. 2
      client/components/admin/admin-security.vue
  2. 2
      server/app/data.yml

2
client/components/admin/admin-security.vue

@ -265,7 +265,7 @@ export default {
securityOpenRedirect: true,
securityIframe: true,
securityReferrerPolicy: true,
securityTrustProxy: true,
securityTrustProxy: false,
securitySRI: true,
securityHSTS: false,
securityHSTSDuration: 0,

2
server/app/data.yml

@ -85,7 +85,7 @@ defaults:
securityOpenRedirect: true
securityIframe: true
securityReferrerPolicy: true
securityTrustProxy: true
securityTrustProxy: false
securitySRI: true
securityHSTS: false
securityHSTSDuration: 300

Loading…
Cancel
Save