An easy to use NGINX config creator that works with php 7.2
PHP 7.2
Certbot
Download and extract to a folder
Run chmod a+x makenginx.sh
Type ./makenginx.sh
Follow prompts
This will only work for php 7.2, you can edit the script to make it work for other php versions and custom configs. The base is there
This probably wont be any use to you, but you can modify it to make long and boring tasks easier. You will most likely error if you don't have a Let's Encrypt certificate created before restarting NGINX, the script gives an option to make one for you.