mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Split up server creation and request handling
This allows us to decouple the WebSocket listening from the HTTP configs, making these features completely orthogonal.
This commit is contained in:
17
config/http/server-factory/https-no-cli-example.json
Normal file
17
config/http/server-factory/https-no-cli-example.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
|
||||
"import": [
|
||||
"css:config/http/server-factory/configurator/default.json"
|
||||
],
|
||||
"@graph": [
|
||||
{
|
||||
"comment": "An example of how to set up an HTTPS server providing key/cert paths directly in the config.",
|
||||
"@id": "urn:solid-server:default:ServerFactory",
|
||||
"@type": "BaseServerFactory",
|
||||
"configurator": { "@id": "urn:solid-server:default:ServerConfigurator" },
|
||||
"options_https": true,
|
||||
"options_key": "/path/to/server.key",
|
||||
"options_cert": "/path/to/server.cert"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user