Skip to content

Commit 074f1d4

Browse files
committed
install
1 parent dd99268 commit 074f1d4

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

content/en/docs/how-to/install/index.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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

196196
1. Configure Nginx to serve as a frontend proxy.
197197
```bash
198198
sudo apt-get install nginx
199199
cd /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
```
205206
server {
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
242243
systemctl 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
247248
apt install certbot
248249
apt-get install python3-certbot-nginx
249250
mkdir -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

253255
5. 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
257259
nano .env
258260
# Restart the WAHA service
261+
docker compose up -d
259262
docker 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-
269266
When 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
278275
docker 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
283287
docker compose pull
@@ -288,7 +292,7 @@ docker compose up -d
288292
```bash
289293
# Stop all containers
290294
docker compose down
291-
# Start all containers
295+
# Start all containers, apply new configuration
292296
docker compose up -d
293297
# Restart all containers
294298
docker compose restart

0 commit comments

Comments
 (0)