forked from MapComplete/MapComplete
Scripts: move away from github pages
This commit is contained in:
parent
de2915274d
commit
c4ae528fb5
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue