Skip to content

Instantly share code, notes, and snippets.

@1901
Last active November 10, 2018 13:47
Show Gist options
  • Save 1901/3eca10766eb35f48e97c6a1ab0142d84 to your computer and use it in GitHub Desktop.
Save 1901/3eca10766eb35f48e97c6a1ab0142d84 to your computer and use it in GitHub Desktop.
[Nginx 直接返回内容] #nginx #linux
location = /test {
add_header Content-Type text/plain;
return 200 'proxy-4001';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment