Commit e64ca8c7 authored by tywldx's avatar tywldx

update lua

parent 5114b95b
...@@ -14,15 +14,17 @@ server { ...@@ -14,15 +14,17 @@ server {
set $registerChannel "758,222,198"; set $registerChannel "758,222,198";
set $merchantChannel ""; set $merchantChannel "";
set $excludeChannel "504,900";
set $tailNumber "1,2,3,4,5,6,7,8,9";
location / { location / {
expires -1; expires -1;
set_by_lua_file $rootPath /usr/local/openresty/nginx/lua/phoneChannel.lua;
set_by_lua_file $rootPath /usr/local/openresty/nginx/lua/toChannel.lua; header_filter_by_lua_file /usr/local/openresty/nginx/lua/addCookie.lua;
header_filter_by_lua_file /usr/local/openresty/nginx/lua/addCookie.lua;
root $rootPath; root $rootPath;
try_files $uri $uri/ /index.html?$query_string; try_files $uri $uri/ /index.html?$query_string;
} }
} }
......
...@@ -12,19 +12,19 @@ server { ...@@ -12,19 +12,19 @@ server {
set $normalPath "/home/quant_group/xyqb-ui/dist/public"; set $normalPath "/home/quant_group/xyqb-ui/dist/public";
set $channelPath "/home/quant_group/xjd-ui/dist"; set $channelPath "/home/quant_group/xjd-ui/dist";
set $registerChannel "999999"; set $registerChannel "999999";
set $merchantChannel ""; set $merchantChannel "";
set $excludeChannel "504,900"; set $excludeChannel "504,900";
set $tailNumber "1,2,3,4,5,6,7,8,9"; set $tailNumber "1,2,3,4,5,6,7,8,9";
location / { location / {
expires -1; expires -1;
set_by_lua_file $rootPath /usr/local/openresty/nginx/lua/phoneChannel.lua; set_by_lua_file $rootPath /usr/local/openresty/nginx/lua/phoneChannel.lua;
header_filter_by_lua_file /usr/local/openresty/nginx/lua/addCookie.lua; header_filter_by_lua_file /usr/local/openresty/nginx/lua/addCookie.lua;
root $rootPath; root $rootPath;
try_files $uri $uri/ /index.html?$query_string; try_files $uri $uri/ /index.html?$query_string;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment