Skip to content

lindseyanderson/Python-Nginx-Developement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JustNginx - An improperly named installation script

JustCurl - currently exists as a combination of PHP and BASH and will be accepting this new version once completed.

This is an automated script for both virtual host creation in either Nginx or Apache. Other features will be added as we go to eventually encompass the following:

Features

  • Apache Virtual Host creation
  • Apache Installation available
  • Nginx Virtual Host creation
  • Nginx Installation available
  • MySQL Database creation
  • MySQL Installation available
  • MongoDB Database creation
  • MongoDB Installation
  • Wordpress installation
  • Drupal installation

Usage

python <( curl 	-H "host: example.com" \
	-H "x-http: apache" \
	-H "x-port: 80" \
	-H "x-docroot: /var/www/vhosts/example.com" \
	-H "x-install: wordpress" justnginx.com )

These headers are likely to change as better ones are thought up. Check back for current usage.

Defaults

A host header must always be specified when attempting a virtual host installation. The following are default values for the remaining headers:

  • x-http: apache
  • x-port: 80
  • x-docroot: /var/www/vhosts/%{domain_name}
  • x-install: none

Contact

Email: [email protected]

Releases

No releases published

Packages

No packages published

Languages