File tree 3 files changed +105
-0
lines changed
3 files changed +105
-0
lines changed Original file line number Diff line number Diff line change
1
+ # The name of this app. Must be unique within a project.
2
+ name : " microsite"
3
+ type : php:7.0
4
+ build :
5
+ flavor : composer
6
+ timezone : Europe/Zurich
7
+ disk : 2048
8
+ dependencies :
9
+ nodejs :
10
+ gulp : " 3.9.0"
11
+ hooks :
12
+ build : |
13
+ set -e
14
+ cd
15
+ npm install
16
+ gulp
17
+ web :
18
+ document_root : " /public"
19
+ passthru : " /index.html"
20
+ whitelist :
21
+ # CSS and Javascript.
22
+ - \.css$
23
+ - \.js$
24
+ - \.hbs$
25
+
26
+ # image/* types.
27
+ - \.gif$
28
+ - \.jpe?g$
29
+ - \.png$
30
+ - \.tiff?$
31
+ - \.wbmp$
32
+ - \.ico$
33
+ - \.jng$
34
+ - \.bmp$
35
+ - \.svgz?$
36
+
37
+ # audio/* types.
38
+ - \.midi?$
39
+ - \.mpe?ga$
40
+ - \.mp2$
41
+ - \.mp3$
42
+ - \.m4a$
43
+ - \.ra$
44
+ - \.weba$
45
+
46
+ # video/* types.
47
+ - \.3gpp?$
48
+ - \.mp4$
49
+ - \.mpe?g$
50
+ - \.mpe$
51
+ - \.ogv$
52
+ - \.mov$
53
+ - \.webm$
54
+ - \.flv$
55
+ - \.mng$
56
+ - \.asx$
57
+ - \.asf$
58
+ - \.wmv$
59
+ - \.avi$
60
+
61
+ # application/ogg.
62
+ - \.ogx$
63
+
64
+ # application/x-shockwave-flash.
65
+ - \.swf$
66
+
67
+ # application/java-archive.
68
+ - \.jar$
69
+
70
+ # fonts types.
71
+ - \.ttf$
72
+ - \.eot$
73
+ - \.woff$
74
+ - \.woff2$
75
+ - \.otf$
76
+
77
+ # robots.txt.
78
+ - /robots\.txt$
79
+
80
+ # Go and deploy
Original file line number Diff line number Diff line change
1
+ http://www.{default}/ :
2
+ to : http://{default}/
3
+ type : redirect
4
+ http://{default}/ :
5
+ redirects :
6
+ expires : -1s
7
+ paths : {}
8
+ to : https://{default}/
9
+ type : redirect
10
+ https://{default}/ :
11
+ cache :
12
+ cookies :
13
+ - ' *'
14
+ default_ttl : 0
15
+ enabled : false
16
+ headers :
17
+ - Accept
18
+ - Accept-Language
19
+ redirects :
20
+ expires : -1s
21
+ paths : {}
22
+ ssi :
23
+ enabled : false
24
+ type : upstream
25
+ upstream : microsite:php
You can’t perform that action at this time.
0 commit comments