Skip to content

Nginx conf templates pack, vhost generator: SSL, Upstream, PHP, Ruby, Lua and some frameworks templates + MySQL user and DB generator

License

Notifications You must be signed in to change notification settings

mibamur/nginx_vhost_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx vhost generator

Nginx conf templates pack, vhost generator and other.

logo

  • SSL and SPDY, Logs agregator, Backup, Private/Public, FastCGI, uWSGI and HTTP Proxy
  • lang and frameworks
    • php (a lot)
    • ruby (rails, sinatra, mruby, etc)
    • python (django, etc)
    • lua (openresty)
  • 3rdPartyModules
  • Posts
  • Perfomance

You should better read this page and look at generate_nginx_vhost.sh.

vhost tree

.
├── conf
│   ├── apps
│   │   ├── Lua
│   │   ├── PHP
│   │   ├── Python
│   │   └── Ruby
│   ├── ssl
│   └── upstream
├── log
├── backup
├── private
└── public

Requirements:

  • ack-grep - parsing vhost templates

Install

  1. Add to nginx.conf inside http directive include /var/www/*/conf/nginx.conf;
  2. git clone to /var/www/
  3. Run ./generate_nginx_vhost.sh

Tasks

  • add ssl key generate
  • upstream generate
  • subdomain
  • color output
  • ln -s for all log (one lgo directory)
  • clue all conf-files in one before start nginx (Sysoev said)
  • remove rewrite and other Regex from conf
  • add more templates

Frameworks

  • PHP
    • _php
    • _fpm-status
    • ecommerce
      • opencart
      • prestashop
    • frameworks
      • zend
      • yiiframework
      • phalcon
      • kohanaphp
      • drupal6
    • CMS, wiki
      • dokuwiki
      • moodle
    • CRM
      • SugarCRM
      • Vtiger

Plan to add some features from

Nginx 3rdPartyModules Community

MIT

About

Nginx conf templates pack, vhost generator: SSL, Upstream, PHP, Ruby, Lua and some frameworks templates + MySQL user and DB generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages