2022 02Feb 06, ReactorScram
The blog has a new, shorter URL!
https://blog.six-five-six-four.com
This is thanks to a new server block in Nginx featuring a rewrite rule that gets rid of all the extra stuff:
rewrite ^/(.*)$ /frontend/servers/aliens_wildland/files/blog/$1 break;
And SWAG makes it easy to add
subdomains in docker-compose.yml
:
environment:
- SUBDOMAINS=blog,ptth,www,
- ...
So all I had to do was:
docker logs -f --since 1m swag
to make sure it got the new certssite-confs/blog
for Nginxreload-nginx.bash
script: docker exec swag nginx -c /config/nginx/nginx.conf -s reload