feat: add ability to change the access log format

This commit is contained in:
Andrew Kane
2020-11-30 21:59:36 -08:00
parent 21a94b6dca
commit c0581a0e37
6 changed files with 76 additions and 6 deletions

View File

@@ -38,6 +38,7 @@ cmd-nginx-report-single() {
fi
verify_app_name "$APP"
local flag_map=(
"--nginx-access-log-format: $(fn-nginx-access-log-format "$APP")"
"--nginx-access-log-path: $(fn-nginx-access-log-path "$APP")"
"--nginx-bind-address-ipv4: $(fn-plugin-property-get-default "nginx" "$APP" "bind-address-ipv4" "")"
"--nginx-bind-address-ipv6: $(fn-plugin-property-get-default "nginx" "$APP" "bind-address-ipv6" "::")"