The Wayback Machine - https://web.archive.org/web/20201215120524/https://github.com/BaseMax/NginxWebAutoConfig
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Nginx Auto Conf

NginxWebAutoConfig

A sample script to automatically create nginx configuration file to set up all website on.

Using

$ git clone https://github.com/BaseMax/NginxWebAutoConfig
$ cd NginxWebAutoConfig
$ nano AutoConf.php
$ php AutoConf.php
$ sudo service nginx restart / sudo systemctl restart nginx

Featues

  • Support HTTPS, HTTP2
  • Support www.
  • Redirect all http requests to https
  • Redirect all www requests to non-www
  • Support Subdodmains
  • Support PHP-fpm
  • Support Nginx proxy (e.g: for nodejs)

Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

You can’t perform that action at this time.