Add a build step to clone the private homepage files.

This is currently used to deploy a PGP WKD (Web Key Directory) for my PGP keys.
This commit is contained in:
Tom Alexander
2024-01-02 12:36:17 -05:00
parent 81a5788ba9
commit ce6d2d4442
3 changed files with 64 additions and 30 deletions

View File

@@ -48,6 +48,11 @@ http {
default_type text/plain;
}
location ~ /\.well-known/openpgpkey/[^/]+/hu/ {
default_type "application/octet-stream";
add_header Access-Control-Allow-Origin * always;
}
location /.well-known/matrix/server {
default_type application/json;
add_header "Access-Control-Allow-Origin" *;