From: Christian Heller Date: Sat, 25 Dec 2021 20:59:31 +0000 (+0100) Subject: Add basic guiltcards setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%22https:/validator.w3.org/todo?a=commitdiff_plain;h=3c6998480a04076eeb2c7abdd3fff123b60ad553;p=config Add basic guiltcards setup. --- diff --git a/bullseye/etc_files/website/etc/nginx/sites-available/website.nginx b/bullseye/etc_files/website/etc/nginx/sites-available/website.nginx index cbad304..008b586 100644 --- a/bullseye/etc_files/website/etc/nginx/sites-available/website.nginx +++ b/bullseye/etc_files/website/etc/nginx/sites-available/website.nginx @@ -37,4 +37,9 @@ server { auth_basic_user_file /var/www/irclogs_pw/$1; autoindex on; } + + # location /guiltcards/ { + include uwsgi_params; + uwsgi_pass 127.0.0.1:9000; + } } diff --git a/bullseye/setup_scripts/setup_website.sh b/bullseye/setup_scripts/setup_website.sh index 99d5f4e..d2dd5e8 100755 --- a/bullseye/setup_scripts/setup_website.sh +++ b/bullseye/setup_scripts/setup_website.sh @@ -123,6 +123,9 @@ fi # TODO systemctl enable plomlombot.service # TODO service plomlombot start +# Set up guiltcards. +su -lc "git clone /var/repos/guiltcards" plom + # In the above step, we might have created a root-owned /var/www/html – # fix this here. chown -R plom:plom /var/www/html