--- ngx_cache_purge_upstream.h.orig 2026-11-29 15:04:07 UTC +++ ngx_cache_purge_upstream.h @@ -62,8 +62,10 @@ typedef struct { # endif # if (NGX_HTTP_PROXY) -# if (nginx_version >= 1029004) -/* Prefer the exported nginx header to a private definition. */ +# if (nginx_version >= 1029004) && !defined(freenginx) +/* Prefer the exported nginx header to a private definition. freenginx + * reports 1030001 but never gained this header, so it keeps the private + * definition below, which matches its own layout. */ # include # else extern ngx_module_t ngx_http_proxy_module;