Update README.md

This commit is contained in:
Erreur32 2024-07-15 12:51:40 +02:00 committed by GitHub
parent b88b349a80
commit 709f402bc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,6 +63,7 @@ API_PASS="password"
## Options ## Options
```tcl ```tcl
🌐 Host proxy Domain creation:
-d DOMAIN_NAMES Domain name (required for creating/updating hosts) -d DOMAIN_NAMES Domain name (required for creating/updating hosts)
-i FORWARD_HOST IP address or domain name of the target server (required for creating/updating hosts) -i FORWARD_HOST IP address or domain name of the target server (required for creating/updating hosts)
-p FORWARD_PORT Port of the target server (required for creating/updating hosts) -p FORWARD_PORT Port of the target server (required for creating/updating hosts)
@ -71,23 +72,31 @@ API_PASS="password"
-b BLOCK_EXPLOITS Block exploits (true/false, default: true) -b BLOCK_EXPLOITS Block exploits (true/false, default: true)
-w ALLOW_WEBSOCKET_UPGRADE Allow WebSocket upgrade (true/false, default: true) -w ALLOW_WEBSOCKET_UPGRADE Allow WebSocket upgrade (true/false, default: true)
-a ADVANCED_CONFIG Advanced configuration (block of configuration settings) -a ADVANCED_CONFIG Advanced configuration (block of configuration settings)
--backup Backup all configurations to a file
--check-token Check if the current token is valid 📦 Backup and Restore:
--create-user user pass email Create a user with a username, password and email --host-backup Backup all configurations to a file
--delete-user username Delete a user by username --host-backup-id id Backup a single host configuration and its certificate (if exists)
--delete-host id Delete a proxy host by ID --host-restore Restore configurations from a backup file
--show-host id Show full details for a specific host by ID --host-restore-id id Restore a single host configuration and its certificate (if exists)
--show-default Show default settings for creating hosts
--list-hosts List the names of all proxy hosts 🔧 Miscellaneous:
--list-hosts-full List all proxy hosts with full details --host-check-token Check if the current token is valid
--list-ssl-certificates List all SSL certificates --host-create-user user pass email Create a user with a username, password and email
--list-users List all users --host-delete-user username Delete a user by username
--search-host hostname Search for a proxy host by domain name --host-delete id Delete a proxy host by ID
--enable-host id Enable a proxy host by ID --host-show id Show full details for a specific host by ID
--disable-host id Disable a proxy host by ID --host-show-default Show default settings for creating hosts
--ssl-host-enable id Enable SSL, HTTP/2, and HSTS for a proxy host (will generate let's encrypt certif auto) --host-list List the names of all proxy hosts
--ssl-host-disable id Disable SSL, HTTP/2, and HSTS for a proxy host --host-list-full List all proxy hosts with full details
--help Display this help --host-list-ssl-certificates List all SSL certificates
--host-list-users List all users
--host-search hostname Search for a proxy host by domain name
--host-enable id Enable a proxy host by ID
--host-disable id Disable a proxy host by ID
--host-ssl-enable id Enable SSL, HTTP/2, and HSTS for a proxy host (don't need to generate a custom cert.)
--host-ssl-disable id Disable SSL, HTTP/2, and HSTS for a proxy host
--host-generate-cert domain email [--custom] Generate a Let's Encrypt or Custom certificate for the given domain and email
--host-help Display this help
``` ```