[mirotalksfu] - update docs & dep.

هذا الالتزام موجود في:
Miroslav Pejic
2022-06-19 15:20:10 +02:00
الأصل 290b11f31a
التزام e467044ebf
2 ملفات معدلة مع 13 إضافات و9 حذوفات

عرض الملف

@@ -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"
} }
} }