fix: real fix

This commit is contained in:
2026-03-12 22:08:13 +07:00
parent 1fa253dfff
commit 89d4fcfe42
2 changed files with 9 additions and 3 deletions

View File

@@ -77,9 +77,9 @@ def main():
source_dir = download_and_unpack(nginx_url)
module_source_dirs = []
for module in config["modules"]:
print(f"Downloading module: {module['name']}")
module_source_dir = download_and_unpack(module["url"])
print(f"Module '{module['name']}' downloaded successfully.")
print(f"Downloading module: {module}")
module_source_dir = download_and_unpack(module)
print(f"Module '{module}' downloaded successfully.")
module_source_dirs.append(module_source_dir)
# Configure and build modules
args = [f"--add-dynamic-module=../{dir}" for dir in module_source_dirs]

View File

@@ -0,0 +1,6 @@
{
"modules": [
"https://github.com/leev/ngx_http_geoip2_module/archive/refs/tags/3.4.tar.gz",
"https://github.com/linsongze/ngx_http_image_filter_module/archive/refs/heads/master.tar.gz"
]
}