Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.1KB

  1. use Mix.Config
  2. # For production, we often load configuration from external
  3. # sources, such as your system environment. For this reason,
  4. # you won't find the :http configuration below, but set inside
  5. # Pleroma.Web.Endpoint.load_from_system_env/1 dynamically.
  6. # Any dynamic configuration should be moved to such function.
  7. #
  8. # Don't forget to configure the url host to something meaningful,
  9. # Phoenix uses this information when generating URLs.
  10. #
  11. # Finally, we also include the path to a cache manifest
  12. # containing the digested version of static files. This
  13. # manifest is generated by the mix phoenix.digest task
  14. # which you typically run after static files are built.
  15. config :pleroma, Pleroma.Web.Endpoint,
  16. http: [port: 4000],
  17. protocol: "http"
  18. # Do not print debug messages in production
  19. config :logger, level: :info
  20. # ## SSL Support
  21. #
  22. # To get SSL working, you will need to add the `https` key
  23. # to the previous section and set your `:url` port to 443:
  24. #
  25. # config :pleroma, Pleroma.Web.Endpoint,
  26. # ...
  27. # url: [host: "example.com", port: 443],
  28. # https: [:inet6,
  29. # port: 443,
  30. # keyfile: System.get_env("SOME_APP_SSL_KEY_PATH"),
  31. # certfile: System.get_env("SOME_APP_SSL_CERT_PATH")]
  32. #
  33. # Where those two env variables return an absolute path to
  34. # the key and cert in disk or a relative path inside priv,
  35. # for example "priv/ssl/server.key".
  36. #
  37. # We also recommend setting `force_ssl`, ensuring no data is
  38. # ever sent via http, always redirecting to https:
  39. #
  40. # config :pleroma, Pleroma.Web.Endpoint,
  41. # force_ssl: [hsts: true]
  42. #
  43. # Check `Plug.SSL` for all available options in `force_ssl`.
  44. # ## Using releases
  45. #
  46. # If you are doing OTP releases, you need to instruct Phoenix
  47. # to start the server for all endpoints:
  48. #
  49. # config :phoenix, :serve_endpoints, true
  50. #
  51. # Alternatively, you can configure exactly which server to
  52. # start per endpoint:
  53. #
  54. # config :pleroma, Pleroma.Web.Endpoint, server: true
  55. #
  56. # Finally import the config/prod.secret.exs
  57. # which should be versioned separately.
  58. import_config "prod.secret.exs"