Giter Site home page Giter Site logo

cc-vagrant-nginx-fpm's Introduction

Virtual Host NGINX and PHP-FPM - CentOS 7.2

This Virtual Host template is to help create the proper folder structure and settings for a new NGINX and PHP-FPM install on a CentOS 7.2 webserver. It also includes Vagrantfile and provisioning needed for local development.

Usage

To use it, run cookiecutter with this repository url:

cookiecutter gh:twkm/vhosttemplate-centos-72-cookiecutter

This will clone the project to a local folder and prompt you for some inputs to create the project:

  • admin_email: Email used for the ServerAdmin variable in the virtual host server config files
  • project_name: The name of the project. This is used to name the folder and link everything up properly in server config files.

Configuration

Ensure that you review the /config/nginx-conf and /config/nginx-vhosts folders to edit configuration files. You may need to add additional server configurations, or add new ones to these folders.

The /config/nginx-conf folder is where you add NGINX configuration for new subdomains. /config/nginx-vhosts is where you customize the NGINX settings for each new subdomain.

Requirements

This template requires Cookiecutter v.1.1+ in order to be able to exclude binary files. The /data/adminer/ folder includes binary data which will cause an error in earlier versions of Cookiecutter.

cc-vagrant-nginx-fpm's People

Contributors

twkm avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.