We look at the mechanics of web services last time. Today we build up a non-toy web service for a time capsule application. Behind our web service will be a MySQL database, and our service will endpoints for the four common CRUD operations for operating on our database’s records: creating, rreading, updating, and deleting.
Here’s your TODO list:
sudo apt install nginx.
sudo certbot certonly --dry-run --apache -d NEW-DOMAIN. Replace
NEW-DOMAINwith your new domain name. Once that reports success, run the command again without
--dry-run. We include
--dry-runinitially because Let’s Encrypt blocks you if you make too many failing requests in an hour. We include
--apachebecause our Nginx server is not set up to serve out the files that Let’s Encrypt expects to verify that you own the server.
See you next time.