mapcomplete/scripts/hetzner/config/Caddyfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
665 B
Text
Raw Normal View History

2023-09-25 03:14:29 +02:00
hosted.mapcomplete.org {
root * public/
file_server
header {
+Permissions-Policy "interest-cohort=()"
+Report-To `\{"group":"csp-endpoint", "max_age": 86400,"endpoints": [\{"url": "https://report.mapcomplete.org/csp"}], "include_subdomains": true}`
}
}
countrycoder.mapcomplete.org {
root * tiles/
file_server
header {
+Permissions-Policy "interest-cohort=()"
+Access-Control-Allow-Origin https://hosted.mapcomplete.org https://dev.mapcomplete.org https://mapcomplete.org
}
2023-09-25 03:14:29 +02:00
}
report.mapcomplete.org {
reverse_proxy {
to http://127.0.0.1:2600
}
}
2023-10-11 00:35:34 +02:00
studio.mapcomplete.org {
reverse_proxy {
to http://127.0.0.1:1235
}
}