Skip to content

Instantly share code, notes, and snippets.

@harveyqing
Last active March 31, 2018 03:00
Show Gist options
  • Save harveyqing/90abfa6fcc749d6c18c46f10fa2b6099 to your computer and use it in GitHub Desktop.
Save harveyqing/90abfa6fcc749d6c18c46f10fa2b6099 to your computer and use it in GitHub Desktop.
show how to debug specified clients in Nginx.

e.g.

events {
    debug_connection 10.224.66.14;
    debug_connection 10.224.57.0/24;
}

P.S. --with-debug option should be on during configure phase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment