-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCaddyfile
23 lines (20 loc) · 820 Bytes
/
Caddyfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://mathcord.chubakbidpaa.com {
reverse_proxy mathcordapi:8050 {
header_up Host {upstream_hostport}
header_up X-Forwarded-Host {host}
header_down Cache-Control "max-age=3600"
header_down Access-Control-Allow-Origin "*"
header_down Access-Control-Allow-Methods "*"
header_down Access-Control-Allow-Headers "access-control-allow-origin"
}
}
https://mathcord.willsh3b33.xyz {
reverse_proxy mathcordapi:8050 {
header_up Host {upstream_hostport}
header_up X-Forwarded-Host {host}
header_down Cache-Control "max-age=3600"
header_down Access-Control-Allow-Origin "*"
header_down Access-Control-Allow-Methods "*"
header_down Access-Control-Allow-Headers "access-control-allow-origin"
}
}