From 6df3d321d9b67c4541f50158b087d37c4b22e886 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 12 Nov 2023 11:16:56 +0100 Subject: initial commit --- docker/server/server.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker/server/server.php (limited to 'docker/server/server.php') diff --git a/docker/server/server.php b/docker/server/server.php new file mode 100644 index 0000000..dee0cd8 --- /dev/null +++ b/docker/server/server.php @@ -0,0 +1,19 @@ + __DIR__ . '/certificate/cert.pem', + 'key' => __DIR__ . '/certificate/key.rsa', + 'passphrase' => '', + ], + '0.0.0.0' +); + +$server->onRequest(new DocumentServer(__DIR__ . '/content')); + +$server->listen(); -- cgit v1.2.3