Skip to content

Commit

Permalink
Scripts: move away from github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Jan 26, 2025
1 parent de29152 commit c4ae528
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Docs/ServerConfig/hetzner/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ builds.mapcomplete.org {
}
}

mapcomplete.org {
root * public/master/
try_files {path}.html
file_server
header {
+Permissions-Policy "interest-cohort=()"
}
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
}

dev.mapcomplete.org {
root * public/develop/
try_files {path}.html
Expand Down

0 comments on commit c4ae528

Please sign in to comment.