Update README.md

This commit is contained in:
STAM 2022-05-30 17:50:28 +03:00 committed by GitHub
parent 03f36d0b61
commit 030eaaf899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,3 +48,33 @@ services:
tmpfs: tmpfs:
- /tmp - /tmp
``` ```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```