mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

* feat: redirect handler Signed-off-by: Wouter Termont <woutermont@gmail.com> * chore: rewrite reduction as loop Signed-off-by: Wouter Termont <woutermont@gmail.com> * chore: remove example import Signed-off-by: Wouter Termont <woutermont@gmail.com> * feat: add more redirect flavours Signed-off-by: Wouter Termont <woutermont@gmail.com> * chore: RedirectingHttpHandler with RedirectAllHttpHandler Signed-off-by: Wouter Termont <woutermont@gmail.com> * chore: replace RedirectAllHttpHandler with RedirectingHttpHandler * chore: revert 5956385 (chore: replace RedirectAllHttpHandler with RedirectingHttpHandler) This reverts commit 5956385c4180e8e8914b9199c4ed6ca8ae7d39fb. * docs: complete constructor params Signed-off-by: Wouter Termont <woutermont@gmail.com>
HTTP
Options related to the base support of HTTP requests by the server.
Handler
Sets up all the handlers a request will potentially pass through.
- default: The full setup, that is middleware + static files + IDP + LDP.
- simple: A simpler setup in which the IDP is disabled.
Middleware
A set of handlers that will always be run on all requests to add some metadata and then pass the request along.
- no-websockets: The default setup but without the websocket-related metadata.
- websockets: The default setup with several handlers.
Server-Factory
The factory used to create the actual server object.
- no-websockets: Only HTTP.
- websockets: HTTP and websockets.
- https-example: An example configuration to use HTTPS directly at the server (instead of at a reverse proxy).
Static
Support for static files that should be found at a specific path.
- default: The default handler with a favicon and css for the IDP. New entries can easily be added for new files.