projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ddd15d
)
docs
author
Jeff Becker
<jeff@i2p.rocks>
Sat, 30 Dec 2017 18:02:51 +0000
(13:02 -0500)
committer
Jeff Becker
<jeff@i2p.rocks>
Sat, 30 Dec 2017 18:08:43 +0000
(13:08 -0500)
README.md
patch
|
blob
|
history
config/config.exs
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 664b8b47548f950d6eed6781535095c47376f4c7..79ce2d19f6af282d8b6bd2d68b81b2683550eaed 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-50,3
+50,12
@@
Logs can be watched by using `journalctl -fu pleroma.service`
### Standalone/run by other means
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.
diff --git
a/config/config.exs
b/config/config.exs
index 28335a6d473ff4bd9bdede4afe5cbd2e3fc5e597..05995085c46d3fcbc4f691d9ac2d484a772a59a5 100644
(file)
--- a/
config/config.exs
+++ b/
config/config.exs
@@
-40,6
+40,7
@@
version = with {version, 0} <- System.cmd("git", ["rev-parse", "HEAD"]) do
_ -> "Pleroma dev"
end
+# Configures http settings, upstream proxy etc.
config :pleroma, :http,
proxy_url: ""