diff options
author | W. Kosior <koszko@koszko.org> | 2024-07-03 17:15:40 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-07-03 17:27:42 +0200 |
commit | e1f974fb35b0a4b2bbbcf952ea6a9eae0028bdc3 (patch) | |
tree | 51222b6ed35afcfaf3c66c72b43a0136be512986 /salamina.scm | |
parent | e144423ef6d0485485904e800643e9aa0875448c (diff) | |
download | koszko-org-guix-server-e1f974fb35b0a4b2bbbcf952ea6a9eae0028bdc3.tar.gz koszko-org-guix-server-e1f974fb35b0a4b2bbbcf952ea6a9eae0028bdc3.zip |
Add Epicyon.
Diffstat (limited to 'salamina.scm')
-rw-r--r-- | salamina.scm | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/salamina.scm b/salamina.scm index 36815bd..74cf690 100644 --- a/salamina.scm +++ b/salamina.scm @@ -68,6 +68,12 @@ (service dhcp-client-service-type)) (prepend %services + (service web:epicyon-service-type + (web:epicyon-configuration + (domain "epicyon.koszko.org") + (port 7156)))) + +(prepend %services (simple-service 'guix-authorize-key guix-service-type (guix-extension (authorized-keys (list (local-file "guix-signing-key.pub")))))) @@ -128,6 +134,7 @@ ")))) '(("koszko.org" "www.koszko.org" "koszkonutek-tmp.pl.eu.org" "www.koszkonutek-tmp.pl.eu.org") + ("epicyon.koszko.org" "www.epicyon.koszko.org") ("git.koszko.org" "www.git.koszko.org" "git.koszkonutek-tmp.pl.eu.org" "www.git.koszkonutek-tmp.pl.eu.org" "git.happyhacking.pl" "www.git.happyhacking.pl") @@ -239,6 +246,28 @@ (chmod "/var/cache/cgit" #o770)))) (prepend %services + (simple-service 'http-virtualhost-epicyon web:httpd-service-type + (list (web:httpd-virtualhost + "*:443" + `("\ + ServerName epicyon.koszko.org + ServerAlias www.epicyon.koszko.org + ServerAdmin koszko@koszko.org + + <If \"%{HTTP_HOST} != 'epicyon.koszko.org'\"> + Redirect permanent / https://epicyon.koszko.org/ + </If> + + ProxyPass / http://127.0.0.1:7156/ + ProxyPassReverse / http://127.0.0.1:7156/ + ProxyPreserveHost On + + SSLEngine on + SSLCertificateFile /etc/certs/epicyon.koszko.org/fullchain.pem + SSLCertificateKeyFile /etc/certs/epicyon.koszko.org/privkey.pem + "))))) + +(prepend %services (simple-service 'httpd-virtualhost-koszko web:httpd-service-type (list (let ((wsgi (file-append ks:koszko-org-website "/share/koszko-org-website/wsgi.py"))) @@ -457,6 +486,7 @@ '((("koszko.org" "www.koszko.org" "koszkonutek-tmp.pl.eu.org" "www.koszkonutek-tmp.pl.eu.org") . #f) + (("epicyon.koszko.org" "www.epicyon.koszko.org") . #f) (("git.koszko.org" "www.git.koszko.org" "git.koszkonutek-tmp.pl.eu.org" "www.git.koszkonutek-tmp.pl.eu.org" @@ -497,6 +527,8 @@ ("*.salamina" "" "IN" "CNAME" "salamina") ("www" "" "IN" "CNAME" "@") + ("epicyon" "" "IN" "CNAME" "salamina") + ("www.epicyon" "" "IN" "CNAME" "epicyon") ("git" "" "IN" "CNAME" "salamina") ("www.git" "" "IN" "CNAME" "git") ("hachettebugs" "" "IN" "CNAME" "hydrillabugs") @@ -618,7 +650,7 @@ (entries (make-koszko-zone-entries domain)) (ns "ns2") (mail "koszko") - (serial 2024070300))) + (serial 2024070301))) (acl '("allow-axfr-from-1984")) (semantic-checks? #t) (notify '("1984-axfr-remote")))) |