-
Notifications
You must be signed in to change notification settings - Fork 1
hideden/ngx_http_jsonp_callback
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
./configure --add-module=./path/to/ngx_http_jsonp_callback ex) location /jsonp_api { jsonp_callback callback; jsonp_callback_types text/javascript; proxy_pass http://application-servers # memcached_pass memcached_server:11211; # error_page 404 = @data_fetch_and_cache; } http://example.com/jsonp_api?id=xxxx -> {"status":"success"} http://example.com/jsonp_api?id=xxxx&callback=cb_func_123456 ^^^^^^^^^^^^^^ -> cb_func_123456({"status":"success"});
About
nginx append jsonp callback module.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published