Added nginx reverse proxy to pleroma.
use Mix.Config
config :pleroma, Pleroma.Web.Endpoint,
url: [host: "{{pleroma_host}}", scheme: "https", port: 443],
secret_key_base: "{{pleroma_secret_key}}"
config :pleroma, :instance,
name: "{{pleroma_instance_name}}",
email: "{{pleroma_admin_email}}",
limit: 5000,
registrations_open: true,
dedupe_media: false
config :pleroma, :media_proxy,
enabled: false,
redirect_on_failure: true
#base_url: "https://cache.pleroma.social"
# Configure your database
config :pleroma, Pleroma.Repo,
adapter: Ecto.Adapters.Postgres,
username: "{{pleroma_user}}",
password: "{{pleroma_db_passwd}}",
database: "{{pleroma_user}}",
hostname: "localhost",
pool_size: 10