Modify nginx config for Rspamd webui

Hi,
I have deployed Rspamd and I want to access its webui.

Where is the relevant nginx config that must be modified?
There’s a documentation that includes instruction for Apache; basically I need the same function for nginx.

The nginx config is deployed under /etc/nginx/conf.d/local.conf. You’re probably best off by adding a new *.conf file to that directory, otherwise the nightly maintenance task will overwrite your changes.

There’s some stuff on nginx configuration here as well: Quickstart

1 Like

Unfortunately I cannot overcome this error:

2024/02/13 13:56:18 [error] 2617872#2617872: *46 directory index of "/usr/share/rspamd/www/auth/" is forbidden, client: 193.16.111.10, server: rspamd.example.com, request: "GET /auth/ HTTP/2.0", host: "rspamd.example.com", referrer: "https://rspamd.example.com/"

I assume this is related to Nginx config file /etc/nginx/conf.d/rspamd_nginx.conf because I created a hashed pw with command rspamadm pw and entered it in /etc/rspamd/local.d/worker-controller.inc accordingly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.