@@ -19,20 +19,20 @@ package crossplane
1919// Update for OSS, filter in config is the directives not in https://nginx.org/en/docs/dirindex.html but in source code.
2020// Override in config is for the "if" directive. We create a bitmask ngxConfExpr for it in crossplane, which is not in source code.
2121//go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/nginx/nginx.git --config-path ./scripts/generate/configs/oss_latest_config.json > ./analyze_oss_latest_directives.gen.go"
22- //go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/nginx/nginx.git --config-path ./scripts/generate/configs/oss_126_config.json --branch branches/ stable-1.26 > ./analyze_oss_126_directives.gen.go"
23- //go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/nginx/nginx.git --config-path ./scripts/generate/configs/oss_124_config.json --branch branches/ stable-1.24 > ./analyze_oss_124_directives.gen.go"
22+ //go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/nginx/nginx.git --config-path ./scripts/generate/configs/oss_126_config.json --branch stable-1.26 > ./analyze_oss_126_directives.gen.go"
23+ //go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/nginx/nginx.git --config-path ./scripts/generate/configs/oss_124_config.json --branch stable-1.24 > ./analyze_oss_124_directives.gen.go"
2424
2525// Update for lua, override is for the lua block directives, see https://github.com/nginxinc/nginx-go-crossplane/pull/86.
2626//go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/openresty/lua-nginx-module.git --config-path ./scripts/generate/configs/lua_config.json --path ./src > ./analyze_lua_directives.gen.go"
2727
28- // Update for otel. Filter is for some directives withou context.
28+ // Update for otel. Filter is for some directives without context.
2929// Otel provides its own config handler for some directives and they don't have context. Currently we don't support them.
3030//go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/nginxinc/nginx-otel.git --config-path ./scripts/generate/configs/otel_config.json --branch main > ./analyze_otel_directives.gen.go"
3131
3232// Update for NAP v4 and v5.
3333// NAP is a private module. Please ensure you have correct access and put the url.
3434// and branch of it in environment variable NAP_URL, NAP_V4_BRANCH, and NAP_V5_BRANCH.
35- // Override is for flag dirctives . NAP used ngxConfTake1 for flag directives, we change them to ngxConfFlag in crossplane.
35+ // Override is for flag directives . NAP used ngxConfTake1 for flag directives, we change them to ngxConfFlag in crossplane.
3636// NAP v4
3737//go:generate sh -c "sh ./scripts/generate/generate.sh --url $NAP_URL --config-path ./scripts/generate/configs/nap_v4_config.json --branch $NAP_V4_BRANCH --path ./src > analyze_appProtectWAFv4_directives.gen.go"
3838// NAP v5
0 commit comments