All Projects → MagePsycho → nginx-virtual-host-bash-script

MagePsycho / nginx-virtual-host-bash-script

Licence: other
Nginx Virtual Host Bash Script

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to nginx-virtual-host-bash-script

magento2-installer-bash-script
Simplistic Magento 2 Installer Bash Script
Stars: ✭ 38 (+8.57%)
Mutual labels:  magento, magento2, bash-script
rapidez
Headless Magento - with Laravel, Vue and Reactive Search 🚀
Stars: ✭ 31 (-11.43%)
Mutual labels:  magento, magento2
magento2-cache-permissions
A module for Magento 2 to add access control restrictions to the cache management.
Stars: ✭ 16 (-54.29%)
Mutual labels:  magento, magento2
koselig
💌 Seamlessly integrate Wordpress with Laravel.
Stars: ✭ 65 (+85.71%)
Mutual labels:  wordpress-development, laravel-framework
magento-grid-colors
Magento 2 Grid Colors module for colorizing admin grids. Supports saving of states with the help of grid's bookmarks.
Stars: ✭ 54 (+54.29%)
Mutual labels:  magento, magento2
pimcore-magento2-bridge
Pimcore module for Magento 2 integration
Stars: ✭ 33 (-5.71%)
Mutual labels:  magento, magento2
module-login-as-customer
Allows admin to login as a customer (enter to customer account).
Stars: ✭ 104 (+197.14%)
Mutual labels:  magento, magento2
magento2-language-tr tr
Magento2 Turkish Translation / Magento2 Türkçe Çevirisi
Stars: ✭ 28 (-20%)
Mutual labels:  magento, magento2
magento2-module-simpledata
The SimpleData module simplifies calling Magento data structures.
Stars: ✭ 82 (+134.29%)
Mutual labels:  magento, magento2
module-blog-sample-data
Sample data for Magento 2 blog extension
Stars: ✭ 15 (-57.14%)
Mutual labels:  magento, magento2
m2devbox
🚀 Head start your Magento 2 extension development with pre-configured Docker environments.
Stars: ✭ 18 (-48.57%)
Mutual labels:  magento, magento2
magento2-ansible-vagrant
Ⓜ️2️⃣ Ansible provisioned Ubuntu 16.04 vagrant box for Magento2 development.
Stars: ✭ 25 (-28.57%)
Mutual labels:  magento, magento2
magento2-edit-order-email
Magento2 - Edit Order Email from Admin
Stars: ✭ 30 (-14.29%)
Mutual labels:  magento, magento2
magento2-module-disabletwofactorauth
The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.
Stars: ✭ 147 (+320%)
Mutual labels:  magento, magento2
centminmod-magento2
Magento 2.2.2 Install Guide For Centmin Mod Nginx LEMP Stacks
Stars: ✭ 16 (-54.29%)
Mutual labels:  magento, magento2
magento-2-pronko-consulting-theme
Pronko Consulting Theme for Magento 2
Stars: ✭ 47 (+34.29%)
Mutual labels:  magento, magento2
module-conflict-detector
magefan.com/magento2-conflict-detector
Stars: ✭ 40 (+14.29%)
Mutual labels:  magento, magento2
Slider-M2
Slider extension for Magento 2.x
Stars: ✭ 17 (-51.43%)
Mutual labels:  magento, magento2
Brazilian-Solutions
Este repositório permite a discussão da comunidade brasileira Magento sobre módulos e soluções para o mercado brasileiro.
Stars: ✭ 19 (-45.71%)
Mutual labels:  magento, magento2
magento2-allegro
Magento 2 Allegro Integration module
Stars: ✭ 25 (-28.57%)
Mutual labels:  magento, magento2

Nginx Virtual Host Creator (Magento 1, Magento 2, Laravel, WordPress)

This Script creates Nginx virtual host for different applications.
Some of the supported applications are:

  • Magento 1
  • Magento 2
  • WordPress
  • Laravel
  • Html
  • Others

INSTALL

To install, simply download the script file and give it the executable permission.

curl -0 https://raw.githubusercontent.com/MagePsycho/nginx-virtual-host-bash-script/master/src/vhost-nginx.sh -o vhost-nginx.sh
chmod +x vhost-nginx.sh

To make it system wide command

sudo mv vhost-nginx.sh /usr/local/bin/vhost-nginx

OR
(may not work with sudo)

mv vhost-nginx.sh ~/bin/vhost-nginx

Make sure your $HOME/bin folder is in executable path

USAGE

To display help

sudo ./vhost-nginx.sh --help

To Create Virtual Host for Magento 1

sudo ./vhost-nginx.sh --domain=magento1938.test --app=magento1 --root-dir=/var/www/magento1/magento1938

To Create Virtual Host for Magento 2

sudo ./vhost-nginx.sh --domain=magento223ce.test --app=magento2 --root-dir=/var/www/magento2/magento223ce

To Create Virtual Host for WordPress

sudo ./vhost-nginx.sh --domain=wordpress494.test --app=wordpress --root-dir=/var/www/wordpress/wordpress494

To Create Virtual Host for Laravel

sudo ./vhost-nginx.sh --domain=laravel560.test --app=laravel --root-dir=/var/www/laravel/laravel560

To Create Virtual Host for Default (Html)

sudo ./vhost-nginx.sh --domain=website.test --app=laravel --root-dir=/var/www/html/website

Notes

  • In case of system-wide command, you can omit the --root-dir parameter if you run the command from the root directory of application.

Screenshots

Nginx Virtual Host Creator Help Screentshot - Nginx Virtual Host Creator Help

Nginx Virtual Host Creator Result Screentshot - Nginx Virtual Host Creator Result

RoadMap

  • To Support multiple applications:
    • Magento 1
    • Magento 2
    • WordPress
    • Laravel
    • Html
    • OroCrm
    • OroCommerce
    • etc.
  • Flexible settings for Nginx
    • fastcgi_pass: tcp port (127.0.0.1:9000) or unix socket (/var/run/php-fpm.sock)
  • Option to configure virtual host template from separate file.
  • Option to add SSL configuration
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].