[mirotalksfu] - update docs & dep.
هذا الالتزام موجود في:
@@ -117,9 +117,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) {
|
||||
@@ -130,9 +132,9 @@ server {
|
||||
server_name your.domain.name;
|
||||
return 404;
|
||||
}
|
||||
```
|
||||
|
||||
#---
|
||||
|
||||
```bash
|
||||
# Check if all configured correctly
|
||||
$ sudo nginx -t
|
||||
|
||||
@@ -141,9 +143,11 @@ $ sudo certbot certonly --nginx
|
||||
|
||||
# Add let's encrypt part on nginx config
|
||||
$ sudo vim /etc/nginx/sites-enabled/default
|
||||
```
|
||||
|
||||
#---
|
||||
Paste this:
|
||||
|
||||
```bash
|
||||
# MiroTalk SFU - HTTPS — proxy all requests to the Node app
|
||||
server {
|
||||
# Enable HTTP/2
|
||||
@@ -164,9 +168,9 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#---
|
||||
|
||||
```bash
|
||||
# Check if all configured correctly
|
||||
$ sudo nginx -t
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم