fix: real fix
This commit is contained in:
@@ -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]
|
||||
|
||||
6
apps/nginx/ngx_modules.json
Normal file
6
apps/nginx/ngx_modules.json
Normal 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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user