2
0

Undo the maintainer's change: we won't force the download of PDFs.

This commit is contained in:
2025-06-25 11:35:31 +02:00
parent 014d1bbc5c
commit 531a7cf39e
2 changed files with 5 additions and 0 deletions

BIN
.metadata

Binary file not shown.

View File

@ -21,6 +21,11 @@
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# This hack reverts a modification in Filebrowser (2.33.1):
# https://github.com/filebrowser/filebrowser/commit/8a14018861fe581672bbd27cdc3ae5691f70a108
# We don't force to download PDFs.
more_clear_headers -t 'application/pdf' 'Content-Disposition';
#websockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;