You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

# Copyright 2020 Google LLC
#
# 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
#
# https://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.
# IP to listen on.
Listen 10.1.2.1
# IP on which external connections are created.
Bind 10.1.3.2
# Allow only requests from this IP.
Allow 127.0.0.1
Allow 10.1.1.1
# Allow only requests on these ports.
ConnectPort 443
ConnectPort 80
# Allow these many parallel connections and underlying server connections.
MaxClients 10000
StartServers 10
MinSpareServers 10
# Deny requests that don't match the domain allowlist defined below.
FilterDefaultDeny Yes
# Domain allowslist file, generated in code.
Filter "/tmp/rbe_allowlist.txt"
# Port to listen on. To be added by rbe.py.