I have 2 servers: 1 - nginx ssl-proxy 10.10.2.10 (proxmox server), 2 - transmission virtual pc 10.10.2.23.
virtual pc:
Code: Select all
[root@torrent ~]# uname -a
Linux torrent 5.15.131-2-pve #1 SMP PVE 5.15.131-3 (2023-12-01T13:42Z) x86_64 x86_64 x86_64 GNU/Linux
[root@torrent ~]# cat /etc/os-release
NAME="AlmaLinux"
VERSION="8.9 (Midnight Oncilla)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.9 (Midnight Oncilla)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.9"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.9"
[root@torrent ~]# rpm -qi transmission-daemon
Name : transmission-daemon
Version : 3.00
Release : 1.el8
Architecture: x86_64
Install Date: Сб 14 ноя 2020 15:26:34
Group : Unspecified
Size : 615241
License : MIT and GPLv2
Signature : RSA/SHA256, Чт 02 июл 2020 20:23:17, Key ID 21ea45ab2f86d6a1
Source RPM : transmission-3.00-1.el8.src.rpm
Build Date : Чт 02 июл 2020 20:17:58
Build Host : buildvm-x86-08.iad2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://www.transmissionbt.com
Bug URL : https://bugz.fedoraproject.org/transmission
Summary : Transmission daemon
Description :
Transmission BitTorrent client daemon.
Code: Select all
upstream transmission_backend {
server 10.10.2.23:9091;
keepalive 32;
}
server {
listen 443 ssl;
listen [::]:443 ssl http2;
server_name torrent.*;
access_log /var/log/nginx/transmission.access.log;
error_log /var/log/nginx/transmission.error.log;
send_timeout 100m;
#include /etc/nginx/authentik-server.conf;
gzip on;
gzip_vary on;
gzip_min_length 1000;
gzip_proxied any;
gzip_types text/plain text/css text/xml application/xml text/javascript application/x-javascript image/svg+xml;
gzip_disable "MSIE [1-6]\.";
client_max_body_size 0;
proxy_hide_header X-Frame-Options; # this should allow iframe
location / {
proxy_read_timeout 300;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass_header X-Transmission-Session-Id;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://transmission_backend;
}
}
When I try direct open nginx from this virtual pc I see Conflict 409 too, but upload torrent work.