-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCaddyfile
58 lines (51 loc) · 1.26 KB
/
Caddyfile
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
localhost:8000 {
encode gzip
root * ./app-shell/dist
try_files {path} /index.html
file_server browse
header {
Strict-Transport-Security max-age=31536000
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy no-referrer-when-downgrade
}
}
localhost:8001 {
encode gzip
root * ./mod-vue/dist
try_files {path} /index.html
file_server browse
header {
Access-Control-Allow-Origin https://localhost:8000
Strict-Transport-Security max-age=31536000
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy no-referrer-when-downgrade
}
}
localhost:8002 {
encode gzip
root * ./mod-react/dist
try_files {path} /index.html
file_server browse
header {
Access-Control-Allow-Origin https://localhost:8000
Strict-Transport-Security max-age=31536000
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy no-referrer-when-downgrade
}
}
localhost:8003 {
encode gzip
root * ./mod-angular/dist
try_files {path} /index.html
file_server browse
header {
Access-Control-Allow-Origin https://localhost:8000
Strict-Transport-Security max-age=31536000
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy no-referrer-when-downgrade
}
}