Skip to content

Sid-Sun/nginx-auto-config

Repository files navigation

nginx-auto-config

GoLang program to configure nginx virtual servers interactively

Presets available:

1: Create static site config (with index).

2: Create config to host files (w/o index)

3: Create config for Angular/Vue production site with routing

4: Proxy pass requests to a port or a site

5: Serve a PHP site with fastcgi and php-fpm

6: Permanent URL redirection to someplace else.

7: Configure to forward all HTTP requests to HTTPS

8: Port forward without hostname with custom port numbers

Compiled binaries:

Linux amd64 / x86_64

Debian Packages:

amd64

Use YAPPA ( Yet Another Personal Package Archive ):

curl -s --compressed "https://sid-sun.github.io/yappa/KEY.gpg" | sudo apt-key add -
curl -s --compressed "https://sid-sun.github.io/yappa/yappa.list" | sudo tee /etc/apt/sources.list.d/yappa.list
sudo apt update
sudo apt install nginx-auto-config

Versioning system:

The version number consists of three parts, namely:

1: Major

2: Minor

3: Infant

Major version is to be updated when using the SAME config, the output generated will differ (ex: bug fix to the output generation system)

Minor version is to be updated when a feature is added or some other change made to the core system that doesn't affect how it behaves with the same effective input

Infant version is to be changed when the change doesn't affect the core system (ex: UX updates)

Versioning system follows a Trickle-down approach (i.e. the version part after the updated part is to be set to 0s)

While we recommend updating to each release, it is highly recommended to update on major and minor version changes

:)

About

Nginx Auto Config // An interactive program written in GoLang to create Nginx virtual server config based on some presets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages