Proxy.php error when behind nginx reverse proxy while trying to paste
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
Duplicate of #148 Fixed by #208