Skip to content

Instantly share code, notes, and snippets.

@snowmantw
Created July 17, 2012 03:16
Show Gist options
  • Save snowmantw/3126781 to your computer and use it in GitHub Desktop.
Save snowmantw/3126781 to your computer and use it in GitHub Desktop.
Ajax do no-op from server in nginx
location /newapi/no-op {
add_header Content-Type "application/json; charset=utf-8";
return 200;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment