#1063343 reportbug: rspamd WEB GUI doesn't allow to change tabs

Package:
rspamd
Source:
rspamd
Description:
Rapid spam filtering system
Submitter:
Adrian Ban
Date:
2024-05-27 07:51:06 UTC
Severity:
normal
#1063343#5
Date:
2024-02-06 13:09:39 UTC
From:
To:
Hi,

I've notice that starting from version 3.7.0 up to 3.8.0 the menu in Web GUI is
not working anymore.
When I'm clicking on "Status / Throughput / Configuration / Symbols /
Scan/Learn / Test selectors / History" tabs the link in changed to
https://rspamd01.domain.com:8080/rspamd/#status or /#throughput etc.

This issue started from 3.7.0 but I able to fix it compiling the original RSPAM
that doesn't replace jquery and bootstrap.

But starting from 3.8.0 this fix doen't work anymore. I tried to disable the
patch 0004-drop-js-scripts-packaged-by-Debian.patch to force to use the
original jsquery and bootstrap, but this time is not helping this trick.

The config for NGINX:

server {
        listen 8080 ssl;
        add_header Strict-Transport-Security "max-age=31536000;
includeSubdomains";
        add_header X-Content-Type-Options nosniff;
        add_header X-Frame-Options SAMEORIGIN;
        add_header X-XSS-Protection "1; mode=block";

#        include ssl.conf;
        ssl_certificate /etc/letsencrypt/live/spamd01.domain.com/fullchain.pem;
        ssl_trusted_certificate
/etc/letsencrypt/live/spamd01.domain.com/fullchain.pem;
        ssl_certificate_key
/etc/letsencrypt/live/spamd01.domain.com/privkey.pem;

        server_name spamd01.domain.com;
        location /rspamd/ {
                proxy_pass       http://localhost:11334/;
                proxy_set_header Host      $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For "";
        }
        ssl on;
        ssl_protocols TLSv1.2 TLSv1.3;

        ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-
SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-
CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305;
        ssl_prefer_server_ciphers on;
        ssl_session_cache shared:TLS:10m;
        ssl_session_timeout 1d;
        ssl_stapling on;
        ssl_stapling_verify on;
        server_tokens off;
}

I have no clue how to fix this issue anymore.

#1063343#10
Date:
2024-05-27 07:44:39 UTC
From:
To:
Hi,

There is any progress regarding this bug? I still not able to use RSPAMD
tabs in WebGUI in latest versions.