mirror of
https://github.com/evilsocket/shieldwall.git
synced 2021-09-07 00:28:37 +03:00
34 lines
685 B
YAML
34 lines
685 B
YAML
api:
|
|
# frontend url
|
|
url: 'https://shieldwall.me'
|
|
ssl: true
|
|
# used for letsencrypt
|
|
domains:
|
|
- shieldwall.me
|
|
- www.shieldwall.me
|
|
- api.shieldwall.me
|
|
certs_cache: '/tmp/'
|
|
# api address
|
|
address: "0.0.0.0:443"
|
|
# 100mb limit to avoid DoS
|
|
req_max_size: 104857600
|
|
token_ttl: 86400 # 24h
|
|
secret: "CHANGE ME CHANGE ME"
|
|
max_agents_per_user: 10
|
|
cache_ttl: 600 # 10m
|
|
allow_new_users: false
|
|
|
|
mail:
|
|
from: "noreply@shieldwall.me"
|
|
smtp:
|
|
address: "smtp.gmail.com"
|
|
port: 587
|
|
username: youremail@gmail.com
|
|
password: "eh9238he923eh9238he92h3"
|
|
|
|
database:
|
|
host: database
|
|
port: 5432
|
|
user: shieldwall
|
|
password: shieldwall
|
|
name: shieldwall |