配置文件中增加注释
This commit is contained in:
parent
025c47b58d
commit
938da21250
|
|
@ -25,10 +25,12 @@ http {
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#API接口文件
|
||||||
location /api {
|
location /api {
|
||||||
content_by_lua_file '/home/frankly/work/AuthPlatform/src/api/api.lua';
|
content_by_lua_file '/home/frankly/work/AuthPlatform/src/api/api.lua';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#测试相关插件接口
|
||||||
location /testTree {
|
location /testTree {
|
||||||
content_by_lua_file '/home/frankly/work/AuthPlatform/src/test/testRadixtree.lua';
|
content_by_lua_file '/home/frankly/work/AuthPlatform/src/test/testRadixtree.lua';
|
||||||
}
|
}
|
||||||
|
|
@ -141,5 +143,11 @@ http {
|
||||||
rewrite ^/_proxy/(.*)$ /$1 break;
|
rewrite ^/_proxy/(.*)$ /$1 break;
|
||||||
##proxy_pass https://resource-provider;
|
##proxy_pass https://resource-provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 错误页处理
|
||||||
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
location = /50x.html {
|
||||||
|
root html;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user