You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace the following configuration in your `nginx.conf` file located at `/etc/nginx/nginx.conf`.
168
169
```
@@ -262,7 +263,7 @@ http {
262
263
```
263
264
sudo systemctl restart nginx
264
265
```
265
-
266
+
---
266
267
## A.5. Install Node.js and NestJS
267
268
```
268
269
sudo apt update
@@ -273,7 +274,7 @@ sudo npm install -g n
273
274
sudo n 22.14.0
274
275
sudo npm i -g @nestjs/cli
275
276
```
276
-
277
+
---
277
278
## A.6. Configure Firewall
278
279
- Install `ufw`, allow OpenSSH connection, allow nginx connection. Then, allow ports 4000, 5000, and 6000 on the server for Mobile App, Web App, and Admin Web App, respectively. Also, open ports 8883 and 8081 to let IoT devices to connect to the MQTT broker and the web socket, respectively.
0 commit comments