On 23.08.2018 17:13, Emanuel Gonzalez wrote:
> Hello, i explain my infrastructure.
>
> I use two servers, server1 and server2. On a server1, use the normal worker and the proxy worker who sends requests to the server2.
>
> Apache is running on server1 with the web interface of Rspamd. In the options.inc file I generated a neighbor:
>
> cat options.inc
> local_addrs = "
127.0.0.0/8 <
http://127.0.0.0/8>";
> one_shot = true;
>
> neighbours {
>
> server2 { host =
168.197.48.92:13334 <
http://168.197.48.92:13334>; }
>
> }
>
> this config is correct? Is it necessary to open some port in the server2 for the web interface to work?
>
> in the webui i see this error: Request failed
>
> any ideas?
>
- The TCP 11334 port on both servers should be accessible from web-browser.
- You need to specify both servers in the "neighbours" section.
- The syntax of the host definition is not correct.
Here are the details:
https://rspamd.com/doc/configuration/options.html#neighbours-list