aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2024-04-11 16:48:43 +0200
committerWojtek Kosior <koszko@koszko.org>2024-04-11 16:48:43 +0200
commit8653ffcbf11ea6f48ce12946e06f687b28b4303f (patch)
treedd92a15bdd8b83222b7fa2d7d25020d72d9e1b4c
parent8f9eb8d20d186e70422126b43f13b5d0e234a4d0 (diff)
downloadkoszko-org-server-8653ffcbf11ea6f48ce12946e06f687b28b4303f.tar.gz
koszko-org-server-8653ffcbf11ea6f48ce12946e06f687b28b4303f.zip
Add ctftilde virtualhost.
-rw-r--r--container.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/container.scm b/container.scm
index 86c4d32..7597ccd 100644
--- a/container.scm
+++ b/container.scm
@@ -162,6 +162,18 @@
,(httpd-simple-wsgi-alias
koszko-org-website "/share/koszko-org-website/wsgi.py")))))
+(add-site-conf
+ (koszko-httpd-site-conf
+ (name-and-aliases '("ctftilde.koszko.org" "www.ctftilde.koszko.org"
+ "gemini.ctftilde.koszko.org"))
+ (body
+ `(,(httpd-directive 'DocumentRoot "/srv/http/koszko.org")
+
+ ,(httpd-directive 'Alias "/sideload" "/srv/http/koszko.org")
+
+ ,(httpd-simple-wsgi-alias
+ koszko-org-website "/share/koszko-org-website/wsgi.py")))))
+
(define %cgitrc-text
(g-string-join
`("css=/cgit-static/cgit.css"