• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# IP to listen on.
16Listen 10.1.2.1
17
18# IP on which external connections are created.
19Bind 10.1.3.2
20
21# Allow only requests from this IP.
22Allow 127.0.0.1
23Allow 10.1.1.1
24
25# Allow only requests on these ports.
26ConnectPort 443
27ConnectPort 80
28
29# Allow these many parallel connections and underlying server connections.
30MaxClients 10000
31StartServers 10
32MinSpareServers 10
33
34# Deny requests that don't match the domain allowlist defined below.
35FilterDefaultDeny Yes
36
37# Domain allowslist file, generated in code.
38Filter "/tmp/rbe_allowlist.txt"
39
40# Port to listen on. To be added by rbe.py.
41