blob: 5af09fa400a6ad48ecb6757c7965be2fd700bd03 [file] [log] [blame]
# 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.
# Simple configuration for an HTTP proxy listening on port 9878 on all
# interfaces and forwarding requests to a multiple multiple S3 servers in round
# robin fashion.
global
daemon
maxconn 256
defaults
mode http
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend http-in
bind *:9878
default_backend servers
backend servers
balance roundrobin
server server1 s3g1:9878 maxconn 32
server server2 s3g2:9878 maxconn 32
server server3 s3g3:9878 maxconn 32