summaryrefslogtreecommitdiff
path: root/config.example
diff options
context:
space:
mode:
authorSoikk2026-01-01 19:49:02 +0100
committerSoikk2026-01-01 20:16:58 +0100
commite88c9d1739695ed8172c0eceffdc3d2c6e656403 (patch)
tree535e60128df31b5411242d2620e728b540c508a7 /config.example
parent8cdb3ba9256bf61453c25ee728349cd18dabe236 (diff)
downloadsoikk-server-e88c9d1739695ed8172c0eceffdc3d2c6e656403.tar.xz
soikk-server-e88c9d1739695ed8172c0eceffdc3d2c6e656403.tar.zst
Fixed receive_request for HTTPS connections and enabled HTTPS through the config fileHEADmaster
Diffstat (limited to 'config.example')
-rw-r--r--config.example6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.example b/config.example
index 06a9c26..32ea2f1 100644
--- a/config.example
+++ b/config.example
@@ -1,6 +1,6 @@
# lines that start with # are skipped
name website.com # name of the server. the # isnt really needed here as the config reader skips to the next line once it reads the needed value
-port 80 # port the server will be running on
+port 443 # port the server will be running on
backlog 15 # backlog for the socket
logs {
# adds logging (for all processes) to specified files, and can turn logging to stderr off (0) or on (not 0)
@@ -16,8 +16,8 @@ root /home/user/server/ # where the server will look for files, basically files
bundle /ca/bundle/location # location of ca bundle
cert ssl/cert.pem # location of certificate
key ssl/key.pem #location of private key
-http # turns https off
-# https # turns https on
+# http # turns https off
+https # turns https on
ipv4 # ipv4 enabled
ipv6 # ipv6 enabled
rewrites {