Hi, debian + docker + mailcow, all worked fine. On another server install nginx, configure as reverse proxy.
admin panel, sogo no problem, worked fine. Test rspamd web gui, on first look worked, go to scan/learn upload eml file - and something wrong, pop up messages abnormal.
Investigate log in nginx-mailcow and rspamd-mailcow
When working through nginx reverse proxy
172.22.1.11 - - [01/Dec/2024:18:22:14 +0300] “POST /pipe.php HTTP/1.1” 505 5 “-” “rspamd-3.10.2”
2024-12-01 18:22:14 #38(controller) <518394>; lua; metadata_exporter.lua:317: got unexpected http status: 505
when working direct connect
172.22.1.11 - - [01/Dec/2024:18:19:23 +0300] “POST /pushover.php HTTP/1.1” 200 5 “-” “rspamd-3.10.2”
completely different actions when working through a proxy and directly cause different events in the nginx and rspamd combination.
location / {
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
proxy_set_header Connection '';
chunked_transfer_encoding off;
proxy_cache off;
proxy_buffers 4 64k;
proxy_busy_buffers_size 128k;
proxy_buffer_size 64k;
client_max_body_size 50M;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.101.250:8080;
}
Need help, please.