Use on GitHub pages, or read more about it.
A Javascript webpage to generate a server config for Nginx.
Fill out the form and click 'Just Do It!'. The script then generates a server config file for use in either nginx.conf (as server{}) or in a virtual host file.
Code is a wee bit messy, but hey-ho it works. Any problems you experience, please report the issue!
Feel free to add code and fix my mess, and then make a pull request. Shoutout to jartaud for doing just so.