On 8/5/24 07:04, Odhiambo Washington via Mailman-users wrote:
I am having an ugly-looking https://mm3-lists.kictanet.or.ke/archives/ page because of cached content:
2024/08/05 17:00:31 [error] 694#694: *9562 open() "/opt/mailman/mm/static/CACHE/css/output.6dab123e4897.css" failed (2: No such file or directory), client: 172.70.111.39, server: mm3-lists.kictanet.or.ke, request: "GET /static/CACHE/css/output.6dab123e4897.css HTTP/2.0", host: " mm3-lists.kictanet.or.ke", referrer: " https://mm3-lists.kictanet.or.ke/archives/" 2024/08/05 17:00:31 [error] 694#694: *9564 open() ... That IP address appearing there is not my actual IP, but Cloudflare's, which is acting as proxy for the site.
I **think** you may have something like
location /static/ {
alias /opt/mailman/web/static/;
}
in nginx on cloudflare, but since cloudflare is not the Mailman server, /opt/mailman/web/static/ doesn't exist there.
I can't be sure on how to configure this without knowing the details of how requests get from cloudflare to mm3-lists.kictanet.or.ke and from there to the wsgi server.
However, if cloudflare just proxies the request for /static/ to the
Mailman server and nginx on that server has the above location
directive, that may do it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan