telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 3d175995792887489379cab78f113a4ac92130c7
parent 48638f66cc42506a581561ff9befb33baac952a9
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 14 Mar 2018 10:07:07 +0100

Minor code shuffling

Diffstat:
Mtelize.conf | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/telize.conf b/telize.conf @@ -84,14 +84,14 @@ server { charset utf-8; default_type application/json; - set_real_ip_from 127.0.0.1; - - access_log off; - if ($cors = "true") { add_header Access-Control-Allow-Origin $cors_origin; } + set_real_ip_from 127.0.0.1; + + access_log off; + content_by_lua_block { local cjson = require "cjson"