Created
June 21, 2016 08:37
-
-
Save blackpioter/c54fd9a4f21d116e626ae779a148b3a1 to your computer and use it in GitHub Desktop.
nginx CS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## nginx nx: error logs for time span after 15:00 | |
cat all | grep NAXSI_FMT | awk -F'[: ]' '$2 >= 15 { print }' > naxsi_after_15 | |
## nginx: log_format | |
log_format: | | |
timed_combined '$remote_addr $remote_user [$time_local] ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent" $request_time $upstream_response_time' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment