bind pleroma container to all interfaces again

pleromas new default config is to listen on 127.0.0.1
this setting doesn't work with an nginx reverse proxy directly on your host
This commit is contained in:
Rick
2019-06-27 23:32:10 +02:00
committed by GitHub
parent 2e7a2bca6e
commit ee0d0ed961

View File

@ -82,6 +82,7 @@ Configure Pleroma. Copy the following to `config/secret.exs`:
use Mix.Config use Mix.Config
config :pleroma, Pleroma.Web.Endpoint, config :pleroma, Pleroma.Web.Endpoint,
http: [ ip: {0, 0, 0, 0}, ],
url: [host: "pleroma.domain.tld", scheme: "https", port: 443], url: [host: "pleroma.domain.tld", scheme: "https", port: 443],
secret_key_base: "<use 'openssl rand -base64 48' to generate a key>" secret_key_base: "<use 'openssl rand -base64 48' to generate a key>"