http security: allow referrer-policy to be configured

This commit is contained in:
William Pitcock 2018-11-12 15:14:46 +00:00
commit ee5932a504
4 changed files with 22 additions and 2 deletions

View file

@ -180,7 +180,8 @@ config :pleroma, :http_security,
enabled: true,
sts: false,
sts_max_age: 31_536_000,
ct_max_age: 2_592_000
ct_max_age: 2_592_000,
referrer_policy: "same-origin"
config :cors_plug,
max_age: 86_400,