Skip to content

Commit f2b6af7

Browse files
committed
Update readme
1 parent 25f716c commit f2b6af7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ server {
3939
...
4040
...
4141
location = /testCFunGreeting {
42-
# if not variable specified, direct write response out
4342
ngx_http_c_func_call "my_app_simple_get_greeting";
4443
}
4544
}
@@ -52,10 +51,7 @@ server {
5251
...
5352
...
5453
location = /testCFunGreeting {
55-
# if variable specified, not response write out, but it stored into myResponseVariable
56-
ngx_http_c_func_call "my_app_simple_get_greeting" respTo=myResponseVariable;
57-
58-
return 200 $myResponseVariable;
54+
ngx_http_c_func_call "my_app_simple_get_greeting"
5955
}
6056
}
6157

0 commit comments

Comments
 (0)