Update README.md

This commit is contained in:
2024-04-01 15:12:01 +00:00
parent 9d48fc6d2d
commit bc4b4c322e

View File

@@ -101,9 +101,6 @@ The following exit codes are supported:
- other: Error don't run operation
## cli
## Send Mail
@@ -131,3 +128,20 @@ duplicati-cli send-mail --send-mail-password="pass" --send-mail-to="target@mail.
--send-mail-username=user@mail.lan
```
## nginx
Example running on _duplicati sub folder
```bash
location /_duplicati/ {
proxy_pass http://<duplicatiserver>:8200/;
proxy_redirect ~^/(.*) $scheme://$http_host/_duplicati/$1;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Url-Scheme $scheme;
}
```