level 1
XML_Hydch6
楼主
location ~ ^/(\d+).html$ {
if ($host !~ "^(item)\.xiushuijie\.com$") {
return 403;
}
default_type 'text/html';
charset utf-8;
lua_code_cache on;
set $skuId $1;
content_by_lua_file /usr/chapter7/item.lua;
}
在这个中set $skuId $1我知道是将$1赋值给$skuId的
但是$1的值是从哪里来的呢?我想不通
2016年06月14日 10点06分
1
if ($host !~ "^(item)\.xiushuijie\.com$") {
return 403;
}
default_type 'text/html';
charset utf-8;
lua_code_cache on;
set $skuId $1;
content_by_lua_file /usr/chapter7/item.lua;
}
在这个中set $skuId $1我知道是将$1赋值给$skuId的
但是$1的值是从哪里来的呢?我想不通