Merge "Issue-id: OCS-102"
authorJian Huang <huang.jian12@zte.com.cn>
Mon, 10 Oct 2016 03:49:59 +0000 (03:49 +0000)
committerGerrit Code Review <gerrit@open-o.org>
Mon, 10 Oct 2016 03:49:59 +0000 (03:49 +0000)
msb-core/eag-openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf
msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf

index d938966..5cff7eb 100644 (file)
@@ -73,8 +73,8 @@ server {
                  set $apiurl "";
 
           # Lua files
-          rewrite_by_lua_file luaext/openoapirouter.lua;
-                 access_by_lua_file luaext/execute_auth.lua;
+          rewrite_by_lua_file luaext/openoapirouter.lua;
+                 access_by_lua_file luaext/execute_auth.lua;
                  
           proxy_pass http://$apiserver;
    }
index 1ac9aff..e66571f 100644 (file)
@@ -56,7 +56,8 @@ http {
 
     # Lua settings
     lua_package_path "$prefix/../lualib/?.lua;$prefix/luaext/?.lua;;";
-
+       lua_package_cpath "$prefix/../lualib/?.so;;";
+       
     lua_shared_dict ceryx 10M;
     lua_code_cache on;