Hi there,
we are just integrating PBS 1.1 as our primary backup solution (love it!). We would like to make it avaliable to backup-clients via an nginx reverse proxy. The proxy works perfectly fine with the Web-UI, but the backup clients fail with broken pipes:
Probably, I am just missing the correct way for configuring the nginx reverse-proxy:
with x.x.x.x being the proxy address and y.y.y.y being the address of the PBS-host. I found something in the forum for configuring apache2, but I cannot get the grip on it.
Can someone give me a starting point, please?
Kind regards
Hauke
we are just integrating PBS 1.1 as our primary backup solution (love it!). We would like to make it avaliable to backup-clients via an nginx reverse proxy. The proxy works perfectly fine with the Web-UI, but the backup clients fail with broken pipes:
Code:
Starting backup: host/myhost/2021-07-22T10:46:31Z
Client name: myhost
Starting backup protocol: Thu Jul 22 12:46:31 2021
Couldn't download previous manifest - broken pipe
Upload directory '/my/dir' to 'user@pbs!token@x.x.x.x:8007:Data' as dir.pxar.didx
HTTP/2.0 connection failed
catalog upload error - broken pipe
Error: broken pipe
Probably, I am just missing the correct way for configuring the nginx reverse-proxy:
Code:
server {
listen x.x.x.x:8007 ssl http2;
client_max_body_size 0;
ssl_certificate /etc/nginx/ssl/some.crt;
ssl_certificate_key /etc/nginx/ssl/some.key;
server_name server.name;
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass https://y.y.y.y:8007/;
}
}
with x.x.x.x being the proxy address and y.y.y.y being the address of the PBS-host. I found something in the forum for configuring apache2, but I cannot get the grip on it.
Can someone give me a starting point, please?
Kind regards
Hauke