--- a/roles/pleroma/templates/prod.secret.exs.j2 Sun Nov 17 09:33:48 2019 -0600
+++ b/roles/pleroma/templates/prod.secret.exs.j2 Sun Nov 17 13:06:07 2019 -0600
@@ -1,13 +1,13 @@
use Mix.Config
config :pleroma, Pleroma.Web.Endpoint,
- url: [host: "{{pleroma_link_host}}", scheme: "{{pleroma_link_scheme}}", port: {{pleroma_link_port}}],
- http: [port: {{pleroma_port}}, ip: {127, 0, 0, 1}],
- secret_key_base: "{{pleroma_secret_key}}",
- secure_cookie_flag: true,
- http_security: true
+ url: [host: "{{pleroma_link_host}}", scheme: "{{pleroma_link_scheme}}", port: {{pleroma_link_port}}],
+ http: [port: {{pleroma_port}}, ip: {127, 0, 0, 1}],
+ secret_key_base: "{{pleroma_secret_key}}",
+ secure_cookie_flag: true
config :pleroma, :http_security,
+ enabled: true,
sts: true,
referrer_policy: "same-origin"
@@ -16,7 +16,8 @@
description: "{{pleroma_desc}}",
email: "{{pleroma_admin_email}}",
limit: {{pleroma_char_limit}},
- registrations_open: {{pleroma_signup_open}}
+ registrations_open: {{pleroma_signup_open}},
+ invites_enabled: {{pleroma_invites_enabled}}
config :pleroma, Pleroma.Upload,
filters: [Pleroma.Upload.Filter.Dedupe]