This commit is contained in:
Jeff Becker 2017-12-30 13:02:51 -05:00
parent 5ddd15d794
commit 658c4754ff
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
2 changed files with 10 additions and 0 deletions

View File

@ -50,3 +50,12 @@ Logs can be watched by using `journalctl -fu pleroma.service`
### Standalone/run by other means ### Standalone/run by other means
Run `mix phx.server` in repository's root, it will output log into stdout/stderr Run `mix phx.server` in repository's root, it will output log into stdout/stderr
### Using an upstream proxy for federation
Add the following to your `dev.secret.exs` if you want to proxify all http requests that pleroma makes to an upstream proxy server:
config :pleroma, :http,
proxy_url: "127.0.0.1:8123"
This is useful for running pleroma inside Tor or i2p.

View File

@ -40,6 +40,7 @@ version = with {version, 0} <- System.cmd("git", ["rev-parse", "HEAD"]) do
_ -> "Pleroma dev" _ -> "Pleroma dev"
end end
# Configures http settings, upstream proxy etc.
config :pleroma, :http, config :pleroma, :http,
proxy_url: "" proxy_url: ""