Skip to content

Instantly share code, notes, and snippets.

@perforb
Last active December 14, 2015 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perforb/5019382 to your computer and use it in GitHub Desktop.
Save perforb/5019382 to your computer and use it in GitHub Desktop.
Shows nginx version and configure arguments.
nginx -V 2>&1 | sed 's/--/\n--/g'
### or using perl
### nginx -V 2>&1 | perl -pe 's/--/\n--/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment