Merge pull request 'remove the docs for stuff i didn't do' (#72) from remove-weird...
[akkoma] / docs / docs / configuration / howto_proxy.md
1 # How to configure upstream proxy for federation
2 If you want to proxify all http requests (e.g. for TOR) that Akkoma makes to an upstream proxy server, edit your config file (`dev.secret.exs` or `prod.secret.exs`) and add the following:
3
4 ```
5 config :pleroma, :http,
6 proxy_url: "127.0.0.1:8123"
7 ```
8
9 The other way to do it, for example, with Tor can be done like so:
10 ```
11 config :pleroma, :http, proxy_url: {:socks5, :localhost, 9050}
12 ```