Skip to content

Instantly share code, notes, and snippets.

@zuigon
Created August 31, 2010 22:53
Show Gist options
  • Save zuigon/559922 to your computer and use it in GitHub Desktop.
Save zuigon/559922 to your computer and use it in GitHub Desktop.
# nginx/conf/vhosts/
cat * | grep server_name | sed 's/.*name *//g' | sed 's:;::g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment