User Tools

Site Tools


infra:services:blog

Today this lives on blade.hackeriet.no and is served with nginx.

root@blade:~# grep blog /etc/nginx/sites-available/blog.hackeriet.no
        server_name blog.hackeriet.no;
    ssl_certificate /etc/letsencrypt/live/blog.hackeriet.no/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/blog.hackeriet.no/privkey.pem; # managed by Certbot
        ssl_trusted_certificate /etc/letsencrypt/live/blog.hackeriet.no/fullchain.pem;
        root /home/blog/blog-static/;

Updating the blog

The github repo has a webhook - https://github.com/hackeriet/blog/settings/hooks

root@blade:~# grep blog /etc/webhook.conf
    "id": "blog.hackeriet.no",
    "execute-command": "/etc/webhook/pull-blog.sh",

/srv/hackeriet-wiki/dokuwiki/data/pages/infra/services/blog.txt · Last modified: by atluxity_idp.hackeriet.no