richdocumentscode icon indicating copy to clipboard operation
richdocumentscode copied to clipboard

Proxy.php error when behind nginx reverse proxy while trying to paste

Open markginter31 opened this issue 4 years ago • 1 comments

I put my nextcloud instance behind an nginx reverse proxy. The overview in nextcloud doesn't show any errors. Nextcloud acts as expected, Office opens and allows for editing of documents. Copying/Pasting inside the document works. When I try to copy from an external source and paste into the document I get the following errors in my log: [Sat Apr 02 05:31:06.608557 2022] [php7:notice] [pid 17683] [client 192.168.x.x:58058] PHP Notice: Undefined index: Content-Type in /var/www/html/gintersdrive/apps/richdocumentscode/proxy.php on line 346 [Sat Apr 02 05:31:06.608650 2022] [php7:notice] [pid 17683] [client 192.168.x.x:58058] PHP Notice: Undefined offset: 1 in /var/www/html/gintersdrive/apps/richdocumentscode/proxy.php on line 347

Expected behavior Copy and paste from external sources should continue to work - even behind a reverse proxy

markginter31 avatar Apr 04 '22 08:04 markginter31

Duplicate of #148 Fixed by #208

joshtrichards avatar Nov 11 '23 20:11 joshtrichards