|
|
## review controller
|
|
|
server {
|
|
|
|
|
|
# only allow local
|
|
|
|
|
|
set $real_ip "";
|
|
|
set_by_lua_file $real_ip conf/setup.lua;
|
|
|
access_by_lua_file 'conf/lua/limit_local_access.lua';
|
|
|
|
|
|
include ./local.access.conf;
|
|
|
|
|
|
listen 80;
|
|
|
server_name search.yohoops.org;
|
|
|
access_log /Data/logs/nginx/search_access.log fenxi;
|
...
|
...
|
|