Files
domain-router/config.yaml
2025-09-30 19:37:07 +02:00

80 lines
1.6 KiB
YAML

server:
port: 443
ssl:
enabled: true
certFile: server.crt
keyFile: server.key
acme:
enabled: false
email: me@pablu.de
keyFile: userKey.key
caDirUrl: https://192.168.2.154:14000/dir
tlsAlpn01Port: 5001
http01Port: 5002
renewTime: 30s
logging:
level: debug
# Pretty print for human consumption otherwise json
pretty: true
# Log incoming requests
requests: true
# Log to file aswell as stderr
file:
enabled: false
maxAge: 14
maxBackups: 10
path: ~/logs/router
rateLimit:
enabled: false
# How many requests per ip adress are allowed
bucketSize: 50
# How many requests per ip address are refilled
refillSize: 50
# How often requests per ip address are refilled
refillTime: 30s
# How often Ip Addresses get cleaned up (only ip addresses with max allowed requests are cleaned up)
cleanupTime: 45s
hosts:
# Remote address to request
- remotes:
- localhost
# Port on which to request
port: 8181
# Domains which get redirected to host
domains:
- localhost
- test.localhost
- remotes:
- localhost
port: 8282
domains:
- private.localhost
- remotes:
- localhost
port: 5173
domains:
- hitstar.localhost
- hipstar.localhost
- remotes:
- 127.0.0.1
port: 46009
domains:
- chat.localhost
- remotes:
- www.google.com
port: 443
# Uses https under the hood to communicate with the remote host
secure: true
domains:
- google.localhost