Design Prot Merge #1

Merged
NotS1mp merged 217 commits from design-prot into master 2026-09-21 15:48:16 +00:00
2 changed files with 33 additions and 29 deletions
Showing only changes of commit e277ea0bc5 - Show all commits
@@ -1,32 +1,5 @@
{ {
"StreamTicket": { "StreamTicket": {
"PublicKeyPath": "D:\\weed\\stream_public.pem", "PublicKeyPath": "../../deploy/keys/stream_public.pem"
"Audience": "media-gateway",
"Issuer": "musify-webapi",
"QueryParameterName": "t",
"MediaPathPrefix": "/media"
},
"Cors": {
"AllowedOrigins": [ "http://localhost:5173", "http://localhost:3000" ]
},
"ReverseProxy": {
"Routes": {
"media": {
"ClusterId": "seaweed-filer",
"Match": { "Path": "/media/{**rest}" },
"Transforms": [
{ "PathPattern": "/buckets/webapi-storage/{**rest}" }
]
}
},
"Clusters": {
"seaweed-filer": {
"Destinations": {
"filer": { "Address": "http://localhost:8888/" }
}
}
}
} }
} }
@@ -6,5 +6,36 @@
"Yarp": "Information" "Yarp": "Information"
} }
}, },
"AllowedHosts": "*" "AllowedHosts": "*",
"StreamTicket": {
"PublicKeyPath": "",
"Audience": "media-gateway",
"Issuer": "musify-webapi",
"QueryParameterName": "t",
"MediaPathPrefix": "/media"
},
"Cors": {
"AllowedOrigins": []
},
"ReverseProxy": {
"Routes": {
"media": {
"ClusterId": "seaweed-filer",
"Match": { "Path": "/media/{**rest}" },
"Transforms": [
{ "PathPattern": "/buckets/webapi-storage/{**rest}" }
]
}
},
"Clusters": {
"seaweed-filer": {
"Destinations": {
"filer": { "Address": "http://localhost:8888/" }
}
}
}
}
} }