A sample script to automatically create nginx configuration file to set up all website on.
$ git clone https://github.com/BaseMax/NginxWebAutoConfig
$ cd NginxWebAutoConfig
$ nano AutoConf.php
$ php AutoConf.php
$ sudo service nginx restart / sudo systemctl restart nginx
- Support HTTPS, HTTP2
- Support www.
- Redirect all
http
requests tohttps
- Redirect all
www
requests tonon-www
- Support Subdodmains
- Support PHP-fpm
- Support Nginx proxy (e.g: for nodejs)
My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)
A team includes some programmer, developer, designer, researcher(s) especially Max Base.