-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.example
47 lines (40 loc) · 1.2 KB
/
config.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
server:
port: 443
http_port: 80 # for HTTP to HTTPS redirect
domains:
- name: example.com
type: static
public_dir: /var/www/fast/example.com
ssl:
cert_file: /etc/fast/ssl/example.com/fullchain.pem
key_file: /etc/fast/ssl/example.com/privkey.pem
- name: files.example.com
type: file_directory
public_dir: /var/www/fast/files
ssl:
cert_file: /etc/fast/ssl/files.example.com/fullchain.pem
key_file: /etc/fast/ssl/files.example.com/privkey.pem
- name: another-domain.com
type: static
public_dir: /var/www/fast/another-domain.com
ssl:
cert_file: /etc/fast/ssl/another-domain.com/fullchain.pem
key_file: /etc/fast/ssl/another-domain.com/privkey.pem
- name: api.example.com
type: proxy
proxy:
host: 127.0.0.1
port: 8000
ssl:
cert_file: /etc/fast/ssl/api.example.com/fullchain.pem
key_file: /etc/fast/ssl/api.example.com/privkey.pem
global_ssl:
cert_file: /etc/fast/ssl/global/fullchain.pem
key_file: /etc/fast/ssl/global/privkey.pem
log:
file: /var/log/fast/server.log
level: info # Options: debug, info, warn, error
settings:
read_timeout: 5s
write_timeout: 10s
graceful_shutdown_timeout: 30s