diff options
author | 2017-07-25 15:18:33 +0800 | |
---|---|---|
committer | 2017-07-25 18:11:59 +0800 | |
commit | 672f3d40be83d9e380fd7be4b674d5e8d5fa36de (patch) | |
tree | 43105e1d5e2ba8e8accea8648e57e1cf87db3f00 /msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf | |
parent | 41d3db15a8e1a0496f9c2a5e15db2998a32bb9bf (diff) |
Divide the MSB source codes into two repos
Change-Id: Ie76d545b214a8ce5191f215350a623e1529983d9
Issue-id: MSB-5
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf')
-rw-r--r-- | msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf deleted file mode 100644 index ea434b7..0000000 --- a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf +++ /dev/null @@ -1,72 +0,0 @@ -# -# Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Author: Zhaoxing Meng -# email: meng.zhaoxing1@zte.com.cn -# - -#user xfs xfs; -worker_processes 1; - -error_log logs/error.log warn; -pid logs/nginx.pid; - -events { - worker_connections 1024; -} - -http { - # Basic Settings - default_type application/octet-stream; - sendfile on; - tcp_nopush on; - server_names_hash_bucket_size 128; - keepalive_timeout 120s; - - #the maximum allowed size of the client request body,current 10G - client_max_body_size 10240m; - client_body_buffer_size 128k; - - #set the time wait for connect to proxy_pass target,avoid waiting too long - proxy_connect_timeout 10s; - proxy_read_timeout 120s; - proxy_send_timeout 120s; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $host; - proxy_buffers 4 32k; - - #set the nginx_cache parameter - proxy_cache_path temp/proxy_cache levels=1:2 keys_zone=nginx_cache:256m inactive=1d max_size=1g; - - # Logging - access_log off; - - # Lua settings - lua_package_path "$prefix/../lualib/?.lua;$prefix/luaext/?.lua;;"; - lua_package_cpath "$prefix/../lualib/?.so;;"; - - lua_shared_dict ceryx 10M; - lua_code_cache on; - - # see https://github.com/openresty/lua-resty-core - #init_by_lua ' - # require "resty.core" - #'; - - # Includes - include mime.types; - include ../sites-enabled/*.conf; -} |