-
Notifications
You must be signed in to change notification settings - Fork 21
/
zen.yml
69 lines (64 loc) · 1.55 KB
/
zen.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -- Environment ---------------------------------------------------------------
environment: development
# -- RESTful services ----------------------------------------------------------
api:
- session
- order
- customer
- collection
- product
- review
- image
- settings
- page
- discount
- checkout
# -- HTML pages ----------------------------------------------------------------
www:
- admin
- store.order
- store.profile
- store
# -- Static resources ----------------------------------------------------------
statics:
- url : /assets/core
folder : /assets
maxage : 3600 #1 hour
# -- Custom
- url : /uploads
folder : /uploads
maxage : 60 #60 seconds
- url : /img
folder : /assets/img
maxage : 60 #60 seconds
# -- session -------------------------------------------------------------------
session:
cookie: 80cents
domain: ""
path : "/"
expire: 604800 #7 days
authorization: authorization
# -- CORS Properties -----------------------------------------------------------
headers:
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,OPTIONS
Access-Control-Max-Age: 1
Access-Control-Allow-Headers:
- Accept
- Accept-Version
- Content-Length
- Content-MD5
- Content-Type
- Date
- Api-Version
- Response-Time
- Authorization
Access-Control-Expose-Headers:
- api-version
- content-length
- content-md5
- content-type
- date
- request-id
- response-time