forked from webprogramming260/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCaddyfile-webserver
69 lines (58 loc) · 1.18 KB
/
Caddyfile-webserver
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
cs260.click {
root * /usr/share/caddy
file_server
@font {
path /fonts/*
}
header @font Content-Type font/woff2
header Access-Control-Allow-Origin *
header -etag
header -server
}
startup.cs260.click {
reverse_proxy * localhost:4000
header Cache-Control none
header -server
}
simon.cs260.click {
reverse_proxy * localhost:3000
header Cache-Control none
header -server
header Access-Control-Allow-Origin *
}
simon-html.cs260.click {
root * /usr/share/caddy/simon-html
file_server
}
simon-css.cs260.click {
root * /usr/share/caddy/simon-css
file_server
}
simon-javascript.cs260.click {
root * /usr/share/caddy/simon-javascript
file_server
}
simon-fetch.cs260.click {
root * /usr/share/caddy/simon-fetch
file_server
}
simon-service.cs260.click {
reverse_proxy * localhost:3001
header Cache-Control none
}
simon-db.cs260.click {
reverse_proxy * localhost:3002
header Cache-Control none
}
simon-react.cs260.click {
reverse_proxy * localhost:3003
header Cache-Control none
}
simon-login.cs260.click {
reverse_proxy * localhost:3004
header Cache-Control none
}
simon-websocket.cs260.click {
reverse_proxy * localhost:3005
header Cache-Control none
}