updated readme for new options
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 🚀 NGINX - Site Manager
|
||||
|
||||
This script simplifies the process of managing NGINX sites by providing a command-line interface for common operations such as enabling/disabling, listing, and editing site configurations. This script was designed for Ubuntu. If you want to modify it to make it work for other flavors as well, feel free.
|
||||
This script simplifies the process of managing NGINX sites by providing a command-line interface for common operations such as enabling/disabling, listing, editing, creating, and removing site configurations. This script was designed for Ubuntu. If you want to modify it to make it work for other flavors as well, feel free.
|
||||
|
||||
## 🛠️ Usage
|
||||
|
||||
@@ -14,6 +14,8 @@ This script simplifies the process of managing NGINX sites by providing a comman
|
||||
- `-d, --disable`: Disable a site by disabling its configuration file.
|
||||
- `-l, --list`: List all available sites and their status.
|
||||
- `-ed, --edit`: Edit the configuration file of a site.
|
||||
- `-c, --create`: Create a new configuration file for a site.
|
||||
- `-r, --remove`: Remove a site's configuration file.
|
||||
|
||||
## 📖 Examples
|
||||
|
||||
@@ -21,6 +23,8 @@ This script simplifies the process of managing NGINX sites by providing a comman
|
||||
./nginx-sm.sh --enable example.com # Enable the site example.com
|
||||
./nginx-sm.sh --list # List all available sites
|
||||
./nginx-sm.sh --edit example.com # Edit the configuration of example.com
|
||||
./nginx-sm.sh --create example.com # Create a new configuration for example.com
|
||||
./nginx-sm.sh --remove example.com # Remove the configuration for example.com
|
||||
```
|
||||
|
||||
## 📚 Dependencies
|
||||
|
||||
Reference in New Issue
Block a user