updated readme for new options

This commit is contained in:
D1G1T4L3CH0
2023-12-04 23:36:03 -05:00
parent cce5a7c32f
commit 4c397b89b7

View File

@@ -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,13 +14,17 @@ 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
```bash
./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 --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