39 lines
1.2 KiB
Nginx Configuration File
39 lines
1.2 KiB
Nginx Configuration File
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You 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.
|
|
|
|
worker_processes auto;
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
http {
|
|
server_tokens off;
|
|
client_header_timeout 10;
|
|
client_body_timeout 10;
|
|
# limit_conn_zone $binary_remote_addr zone=addr:5m;
|
|
# limit_conn addr 100;
|
|
index index.html;
|
|
server {
|
|
listen 80;
|
|
location /browser {
|
|
proxy_pass http://oap:12800;
|
|
}
|
|
location /v3 {
|
|
proxy_pass http://oap:12800;
|
|
}
|
|
location /info {
|
|
proxy_pass http://provider:9090;
|
|
}
|
|
}
|
|
} |