Add samples

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-07-26 00:07:09 +03:00
parent a35a476654
commit 90a6e58dca
6 changed files with 104 additions and 0 deletions

18
samples/web_server.dcfg Normal file
View File

@@ -0,0 +1,18 @@
fn lib = {
enable = true
host = '0.0.0.0'
port = 8080
document_root = /www
ssl = {
enable = on
cert = /etc/ssl/server.crt
key = /etc/ssl/server.key
}
logging = {
level = 'info'
access_log = /var/log/httpd/access.log
error_log = /var/log/httpd/error.log
}
}