dam
J'ai fait passer emby sur du https. Au début de mon rutorrent.conf j'ai ça :
server {
listen 80 default_server;
listen 443 ssl http2 default_server;
server_name www.monsite.fr;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl_certificate /etc/letsencrypt/live/monsite.fr-0001/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/monsite.fr-0001/privkey.pem;
include /etc/nginx/conf.d/ciphers.conf;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
et à la fin du rutorrent.conf j'ai collé ça :
##debut config emby##
location ^~ /emby {
proxy_set_header Origin https://$host;
proxy_pass https://localhost:8920;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 36000s;
proxy_read_timeout 36000s;
}
##fin config emby##
Tu auras accès à Emby en http et en https.