--- ../nginx-http-footer-filter-1.2.2/config.orig	2020-04-24 08:37:44.671689000 -0400
+++ ../nginx-http-footer-filter-1.2.2/config	2020-04-24 08:44:41.868601000 -0400
@@ -1,3 +1,7 @@
 ngx_addon_name=ngx_http_footer_filter_module
-HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES ngx_http_footer_filter_module"
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_footer_filter_module.c"
+ngx_module_type=HTTP_FILTER
+ngx_module_name="$ngx_addon_name"
+
+ngx_module_srcs="$ngx_addon_dir/ngx_http_footer_filter_module.c"
+
+. auto/module
