aboutsummaryrefslogtreecommitdiff
path: root/salamina.scm
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-07-03 16:58:51 +0200
committerW. Kosior <koszko@koszko.org>2024-07-03 16:58:51 +0200
commit1ddf995c0ab8103d2e21d6441c900c239d166328 (patch)
tree9f0482eaf7b8e17446f5b3085daefce5486ea8a0 /salamina.scm
parentd0cd6a70e6713192ded1e29ae8872b33b0a029dc (diff)
downloadkoszko-org-guix-server-1ddf995c0ab8103d2e21d6441c900c239d166328.tar.gz
koszko-org-guix-server-1ddf995c0ab8103d2e21d6441c900c239d166328.zip
Remove `demo-01' virtualhost.
Diffstat (limited to 'salamina.scm')
-rw-r--r--salamina.scm25
1 files changed, 0 insertions, 25 deletions
diff --git a/salamina.scm b/salamina.scm
index 8fcfedb..2e8ff62 100644
--- a/salamina.scm
+++ b/salamina.scm
@@ -239,31 +239,6 @@
(chmod "/var/cache/cgit" #o770))))
(prepend %services
- (simple-service 'demo-01-http-virtualhost web:httpd-service-type
- (list (web:httpd-virtualhost
- "*:443"
- `("\
- ServerName demo-01.happyhacking.pl
- ServerAlias www.demo-01.happyhacking.pl
- ServerAdmin webmaster@happyhacking.pl
-
- <If \"%{HTTP_HOST} != 'demo-01.happyhacking.pl'\">
- Redirect permanent / https://demo-01.happyhacking.pl/
- </If>
-
- ProxyPass / http://127.0.0.1:5050/
- ProxyPassReverse / http://127.0.0.1:5050/
-
- Header add Content-Security-Policy \"img-src 'self' data:; connect-src 'self'; default-src ws: 'self' data: blob: 'unsafe-inline' 'unsafe-eval';\"
-
- SSLEngine on
- SSLCertificateFile \
- /etc/certs/demo-01.happyhacking.pl/fullchain.pem
- SSLCertificateKeyFile \
- /etc/certs/demo-01.happyhacking.pl/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")))