Update README.md
This commit is contained in:
20
README.md
20
README.md
@@ -101,9 +101,6 @@ The following exit codes are supported:
|
|||||||
- other: Error don't run operation
|
- other: Error don't run operation
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## cli
|
## cli
|
||||||
|
|
||||||
## Send Mail
|
## 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
|
--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;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user