[mirotalksfu] - update docs & dep.
هذا الالتزام موجود في:
@@ -117,9 +117,11 @@ $ sudo ln -s /snap/bin/certbot /usr/bin/certbot
|
|||||||
|
|
||||||
# Setup Nginx sites
|
# Setup Nginx sites
|
||||||
$ sudo vim /etc/nginx/sites-enabled/default
|
$ sudo vim /etc/nginx/sites-enabled/default
|
||||||
|
```
|
||||||
|
|
||||||
#---
|
Paste this:
|
||||||
|
|
||||||
|
```bash
|
||||||
# HTTP — redirect all traffic to HTTPS
|
# HTTP — redirect all traffic to HTTPS
|
||||||
server {
|
server {
|
||||||
if ($host = your.domain.name) {
|
if ($host = your.domain.name) {
|
||||||
@@ -130,9 +132,9 @@ server {
|
|||||||
server_name your.domain.name;
|
server_name your.domain.name;
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#---
|
```bash
|
||||||
|
|
||||||
# Check if all configured correctly
|
# Check if all configured correctly
|
||||||
$ sudo nginx -t
|
$ sudo nginx -t
|
||||||
|
|
||||||
@@ -141,9 +143,11 @@ $ sudo certbot certonly --nginx
|
|||||||
|
|
||||||
# Add let's encrypt part on nginx config
|
# Add let's encrypt part on nginx config
|
||||||
$ sudo vim /etc/nginx/sites-enabled/default
|
$ sudo vim /etc/nginx/sites-enabled/default
|
||||||
|
```
|
||||||
|
|
||||||
#---
|
Paste this:
|
||||||
|
|
||||||
|
```bash
|
||||||
# MiroTalk SFU - HTTPS — proxy all requests to the Node app
|
# MiroTalk SFU - HTTPS — proxy all requests to the Node app
|
||||||
server {
|
server {
|
||||||
# Enable HTTP/2
|
# Enable HTTP/2
|
||||||
@@ -164,9 +168,9 @@ server {
|
|||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#---
|
```bash
|
||||||
|
|
||||||
# Check if all configured correctly
|
# Check if all configured correctly
|
||||||
$ sudo nginx -t
|
$ sudo nginx -t
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
"mediasoup": "3.9.17",
|
"mediasoup": "3.9.17",
|
||||||
"mediasoup-client": "3.6.52",
|
"mediasoup-client": "3.6.52",
|
||||||
"ngrok": "4.3.1",
|
"ngrok": "4.3.1",
|
||||||
"@sentry/node": "7.1.1",
|
"@sentry/node": "7.2.0",
|
||||||
"@sentry/integrations": "7.1.1",
|
"@sentry/integrations": "7.2.0",
|
||||||
"socket.io": "4.5.1",
|
"socket.io": "4.5.1",
|
||||||
"swagger-ui-express": "4.4.0",
|
"swagger-ui-express": "4.4.0",
|
||||||
"uuid": "8.3.2",
|
"uuid": "8.3.2",
|
||||||
@@ -32,6 +32,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"prettier": "2.6.2"
|
"prettier": "2.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم