Commit d4fd4308 authored by tywldx's avatar tywldx

fix

parent 5b73a112
File added
var protocal = window.location.protocol;
var apiHost = protocal + '//scapi.domain.com';
var xyqbUiHost = protocal + '//api.domain.com';
module.exports = {
api: apiHost,
xyqbUiApi: xyqbUiHost,
analysisUrl:"/analysis/",
test:true
};
\ No newline at end of file
server {
listen 80;
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.0;
gzip_comp_level 4;
gzip_types text/plain application/x-javascript text/css application/xml application/javascript;
gzip_vary on;
set $normalPath "/home/quant_group/spider-center/dist";
set $channelPath "/home/quant_group/new-spider-center/dist";
set $registerChannel "999999";
set $merchantChannel "";
set $excludeChannel "504,900";
set $tailNumber "1,2,3,4,5,6,7,8,9";
location / {
expires -1;
set_by_lua_file $rootPath /usr/local/openresty/nginx/lua/phoneChannel.lua;
header_filter_by_lua_file /usr/local/openresty/nginx/lua/addCookie.lua;
root $rootPath;
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