- On the VPS
- I updated my VPS’s Nginx config to point to
shroo.my instead of localhost.
- I ran the instructions on Certbot to get a certificate for my website
- I’ve changed the basic Nginx web page to talk about me instead of Nginx
- On my local machine
- checked the versions of node and npm
- cloned Quartz and followed the instructions
- created clone on my sr.ht repo
- ran a local build
- successfully got local version working
- rsynced to server
- Failed, my user on the server doesn’t have permission to delete or upload files there
- Created a new folder at /var/www/shroo.my and gave user access to that
- Not sure if this is safe or not…
- Browsed to website
- index worked, but no links did
- Was related to fact links didn’t have
.html at the end. Had to add try_files $uri $uri.html $uri/ =404; to my nginx block
- EVERYTHING WORKS!