@@ -191,19 +191,20 @@ It's recommended to revert this change back and use Nginx or some proxy server i
191191
192192### Additional Steps
193193#### Configure Nginx and Let's Encrypt
194- 👉 Replace ** <yourdomain.com >** with your domain name in the following steps.
194+ 👉 Replace ** <YOURDOMAIN.COM >** with your domain name in the following steps (use lowercase) .
195195
1961961 . Configure Nginx to serve as a frontend proxy.
197197``` bash
198198sudo apt-get install nginx
199199cd /etc/nginx/sites-enabled
200- nano < yourdomain.com> .conf
200+
201+ nano < YOURDOMAIN.COM> .conf
201202```
202203
203- 2 . Use the following Nginx config and ** replace** the ` <yourdomain.com > ` in ` server_name ` .
204+ 2 . Use the following Nginx config and ** replace** the ` <YOURDOMAIN.COM > ` in ` server_name ` .
204205```
205206server {
206- server_name <yourdomain.com >;
207+ server_name <YOURDOMAIN.COM >;
207208
208209 # Point upstream to WAHA Server
209210 set $upstream 127.0.0.1:3000;
@@ -242,30 +243,26 @@ nginx -t
242243systemctl reload nginx
243244```
244245
245- 4 . Run Let's Encrypt to configure SSL certificate.
246+ 4 . Run Let's Encrypt to configure SSL certificate. (replace ** <YOURDOMAIN.COM> ** !)
246247``` bash
247248apt install certbot
248249apt-get install python3-certbot-nginx
249250mkdir -p /var/www/ssl-proof/waha/.well-known
250- certbot --webroot -w /var/www/ssl-proof/waha/ -d < yourdomain.com> -i nginx
251+
252+ certbot --webroot -w /var/www/ssl-proof/waha/ -d < YOURDOMAIN.COM> -i nginx
251253```
252254
2532555 . Your WAHA installation should be accessible from the https://yourdomain.com now.
254- 6 . Change ` WAHA_BASE_URL=https://<yourdomain.com > ` in the ` .env ` file and restart the WAHA service
256+ 6 . Change ` WAHA_BASE_URL=https://<YOURDOMAIN.COM > ` in the ` .env ` file and restart the WAHA service
255257``` bash
256258# Change the WAHA_BASE_URL in .env
257259nano .env
258260# Restart the WAHA service
261+ docker compose up -d
259262docker compose restart
260263```
261264
262265## Update
263- 👉 If you specified exact version in ` docker-compose.yml ` , like
264- ``` yaml
265- image : devlikeapro/waha-plus:latest-2024.7.8
266- ` ` `
267- remember to change it to ` latest-{YEAR}.{MONTH}.{BUILD}` to get the latest version.
268-
269266When there's a new version of WAHA, you can update it with a single commands:
270267
271268[ ** ➕ WAHA Plus** ] ({{< relref "/docs/how-to/waha-plus" >}}) image:
@@ -278,6 +275,13 @@ docker logout
278275docker compose up -d
279276```
280277
278+ 👉 If you specified exact version in ` docker-compose.yml ` , like
279+ ``` yaml
280+ image : devlikeapro/waha-plus:latest-2024.7.8
281+ ` ` `
282+ remember to change it to ` latest-{YEAR}.{MONTH}.{BUILD}` to get the latest version.
283+
284+
281285**WAHA Core** image:
282286` ` ` bash
283287docker compose pull
@@ -288,7 +292,7 @@ docker compose up -d
288292` ` ` bash
289293# Stop all containers
290294docker compose down
291- # Start all containers
295+ # Start all containers, apply new configuration
292296docker compose up -d
293297# Restart all containers
294298docker compose restart
0 commit comments