/yii2-server-config-generator

yii2 nginx config generator

Primary LanguageShellMIT LicenseMIT

Generator nginx config for Yii2 projects

Usage

Run ./project.sh and choice type of your Yii2 project.

Features

  • Choice type of project (Yii2 Basic Application/Yii2 Advanced Application).
  • Create nginx config file in sites-available and sites-enabled paths.
  • Add new records in hosts file.
  • Custom templates for config.
  • Reload nginx.
  • Custom app name, app url, error and access log files.

TODO

  • Add support Apache
  • Add support another templates of Yii2 Application.