diff options
author | Wojtek Kosior <koszko@koszko.org> | 2024-04-11 16:48:43 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2024-04-11 16:48:43 +0200 |
commit | 8653ffcbf11ea6f48ce12946e06f687b28b4303f (patch) | |
tree | dd92a15bdd8b83222b7fa2d7d25020d72d9e1b4c | |
parent | 8f9eb8d20d186e70422126b43f13b5d0e234a4d0 (diff) | |
download | koszko-org-server-8653ffcbf11ea6f48ce12946e06f687b28b4303f.tar.gz koszko-org-server-8653ffcbf11ea6f48ce12946e06f687b28b4303f.zip |
Add ctftilde virtualhost.
-rw-r--r-- | container.scm | 12 |
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" |