--- nxapi/setup.py
+++ nxapi/setup.py.new
@@ -6,18 +6,18 @@
 import pprint
 
 f = {}
-data_files = [('/usr/local/nxapi/', ['nx_datas/country2coords.txt']),
-              ('/usr/local/etc/', ['nxapi.json'])]
+data_files = [('/etc/nginx/nxapi/', ['nx_datas/country2coords.txt']),
+              ('/etc/nginx/nxapi/', ['nxapi.json'])]
 #modules = []
 for dirname, dirnames, filenames in os.walk('tpl/'):
     for filename in filenames:
         if filename.endswith(".tpl"):
             print dirname+"#"+filename
-            if "/usr/local/nxapi/"+dirname not in f.keys():
+            if "/etc/nginx/nxapi/"+dirname not in f.keys():
                 
-                f["/usr/local/nxapi/"+dirname] = []
+                f["/etc/nginx/nxapi/"+dirname] = []
                 
-            f["/usr/local/nxapi/"+dirname].append(os.path.join(dirname, filename))
+            f["/etc/nginx/nxapi/"+dirname].append(os.path.join(dirname, filename))
 
 for z in f.keys():
     data_files.append( (z, f[z]))
