diff --git a/tools/install.sh b/tools/install.sh index 51de33590..69c3a107e 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -158,7 +158,7 @@ sudo echo 'server { } # The list should be in sync with /storage/app/public/uploads/.htaccess and /config/app.php location ~* ^/storage/.*\.((?!(jpg|jpeg|jfif|pjpeg|pjp|apng|bmp|gif|ico|cur|png|tif|tiff|webp|pdf|txt|diff|patch|json|mp3|wav|ogg|wma)).)*$ { - add_header Content-disposition "attachment; filename=$1"; + add_header Content-disposition "attachment; filename=$2"; default_type application/octet-stream; } location ~* ^/(?:css|fonts|img|installer|js|modules|[^\\\]+\..*)$ {