How to setup a private Turtl server

I have been wanting something to replace my Google Keep for a while and finally settled on Turtl [https://turtlapp.com/] as it seems OK and checks the boxes for my requirements [Open Source, Cross Platform, Works, etc etc]. The bar wasn't that high for me, but I wanted to run my own server to sync notes, and this app does that. Here is a quick n' dirty tutorial to get you up and running as it took me an afternoon to figure it out. Hit me up on Twitter or Telegram if you have questions.

UPDATE March 2019:

After getting some feedback on this write up, I updated my Nginx config below. Also, if you run a RPM based Linux OS [RHEL, CentOS, Fedora, etc] you can grab some prebuilt RPMs from this repo. https://github.com/taw00/turtl-rpm

Thanks taw00 for the feedback and building the RPMs.

Prelude

Get a VPS and configure it. I should probably add an affiliate link to Digital Ocean, Linode, or something, but you can figure that out on your own time.

Setup your domain and point DNS to your VPS [Beyond scope for today]

# Run it
service nginx stop
# Get your cert
acme.sh --issue --standalone -d YOURTURTLDOMAIN.COM
# copy your cert file to the directory you specified in the nginx conf file
# test nginx and start the service up if you didn't mess anything up [chances are good for failure]
nginx -t
service nginx start

Download Turtl clients and test your install

Set the Turtl server under advanced settings to your shiny new server

Start enjoying your new notes server and have fun with one less Google service to rely on.

This Nginx config should work, but YMMV on your server. Make sure to test on https://www.ssllabs.com/ssltest to verify your work. This config should give you a A+ as of March 2019.