-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhttphere.yaml.example
More file actions
44 lines (39 loc) · 1.02 KB
/
httphere.yaml.example
File metadata and controls
44 lines (39 loc) · 1.02 KB
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
base:
# listen_host: "0.0.0.0" # default=0.0.0.0
listen_port: "80" # default=80
static_server: "open" # open | close, default=open
static_root: "./" # default=./
dump_request: "yes"
history_routers: # vue history routers
- aaa
- bbbb
tls:
cert_file: ""
key_file: ""
hosts:
- host: "default"
reverse_type: "default"
paths:
- "/": "http://127.0.0.1:8099/"
- "/aa": "http://127.0.0.1:8099/"
"rewrite":
- "/aaa": "/bbb"
# config for particular domain
- host: "api.com"
reverse_type: "fake_host"
paths:
- "/": "http://127.0.0.1:8099/"
- "/aa": "http://127.0.0.1:8099/"
"rewrite":
- "/aaa": "/bbb"
# fastCGI
- host: "sql.com"
reverse_type: "fast_cgi"
fast_cgi:
proto: "tpc" # tcp | unix
address: "127.0.0.1:9000" # ip:port | sock file /var/run/php5-fpm.sock
root: "" # project root directory on fastCGI server side
- host: "127.0.0.1"
reverse_type: "fake_host"
paths:
- "/": "http://127.0.0.1:8099/"