Skip to content

ianhobbs/Nginx-Server-Block-Generator

This branch is 3 commits behind ajsalkeld/Nginx-Server-Block-Generator:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0ec6c5a · Aug 26, 2017

History

50 Commits
Jul 7, 2016
Jul 7, 2016
Jun 21, 2016
Aug 26, 2017
Jul 18, 2016
Jul 18, 2016
Jul 18, 2016
Jul 18, 2016
Jul 18, 2016
Jul 18, 2016
Jul 18, 2016
May 29, 2017
Jul 18, 2016
Jul 18, 2016
Jul 18, 2016
Jun 22, 2016
Jun 12, 2015

Repository files navigation

Nginx Server Block Generator

Use on ajsalkeld.com, 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.

Current options

  • Set port to listen on
  • Set server_name
  • Set root directory
  • Set index
  • Enable php-fpm and change socket
  • Enable SSL and set certificate and key locations
  • Block image leeching (or hotlinking)
  • Allow Wordpress pretty permalinks

TODO:

  • Add IPv6
  • Add more advanced SSL options
  • Anything else I think of/is suggested.

Known problems

Code is a wee bit messy, but hey-ho it works. Any problems you experience, please report the issue!

Contributing

Feel free to add code and fix my mess, and then make a pull request. Shoutout to jartaud for doing just so.

About

A Javascript webpage to generate a server config for Nginx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.4%
  • JavaScript 23.0%
  • HTML 15.6%