[mirotalk] - update docs and dep.

This commit is contained in:
Miroslav Pejic
2022-06-19 15:22:45 +02:00
parent 72a93c1f53
commit 5ed05b9568
3 changed files with 15 additions and 9 deletions
+2
View File
@@ -13,6 +13,8 @@ NGROK_ENABLED=true
NGROK_AUTH_TOKEN=YourNgrokAuthToken
```
---
Then, when you run it with `npm start`, you should see in the console log this line:
```bash
+10 -6
View File
@@ -82,9 +82,11 @@ $ sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Setup Nginx sites
$ sudo vim /etc/nginx/sites-enabled/default
```
#---
Paste this:
```bash
# HTTP — redirect all traffic to HTTPS
server {
if ($host = your.domain.name) {
@@ -95,9 +97,9 @@ server {
server_name your.domain.name;
return 404;
}
```
#---
```bash
# Check if all configured correctly
$ sudo nginx -t
@@ -106,9 +108,11 @@ $ sudo certbot certonly --nginx
# Add let's encrypt part on nginx config
$ sudo vim /etc/nginx/sites-enabled/default
```
#---
Paste this:
```bash
# MiroTalk P2P - HTTPS — proxy all requests to the Node app
server {
# Enable HTTP/2
@@ -129,9 +133,9 @@ server {
proxy_set_header Connection "upgrade";
}
}
```
#---
```bash
# Check if all configured correctly
$ sudo nginx -t