summaryrefslogtreecommitdiff
path: root/gmnisrv.ini
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-05-18 01:00:12 +0200
committerW. Kosior <koszko@koszko.org>2024-05-18 01:00:22 +0200
commit2b55cf92033ed02cabd545540241585e05f1fbb0 (patch)
tree9da86016dea518287552b56aaf457da970d4220f /gmnisrv.ini
downloadAGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.tar.gz
AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.zip
Initial commit.
Diffstat (limited to 'gmnisrv.ini')
-rw-r--r--gmnisrv.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/gmnisrv.ini b/gmnisrv.ini
new file mode 100644
index 0000000..5edcafe
--- /dev/null
+++ b/gmnisrv.ini
@@ -0,0 +1,12 @@
+listen=0.0.0.0 [::]
+
+[:tls]
+store=/var/lib/gemini/certs
+organization=ctftilde tilde server
+
+[ctftilde.koszko.org]
+root=/srv/gemini
+
+[ctftilde.koszko.org~/~(?<username>[^./][^/]*|[.][^/.][^/]*|[.][.][^/]+)/?(?<rest>.*)]
+root=/srv/gemini-users
+rewrite=/\{username}/\{rest}