UI rehaul + original download filenames
This commit is contained in:
@@ -32,7 +32,13 @@ IndexOptions FancyIndexing FoldersFirst NameWidth=*\n\
|
||||
# Force download for shared files
|
||||
RUN printf '\n# --- Force download in _share ---\n\
|
||||
<Directory "/usr/local/apache2/htdocs/_share">\n\
|
||||
Header set Content-Disposition "attachment"\n\
|
||||
# Header set Content-Disposition "attachment"\n\
|
||||
# We want to let the application handle the download name if possible\n\
|
||||
# or just serve it directly if accessed directly. \n\
|
||||
# Actually, we should probably proxy requests for metadata resolution\n\
|
||||
# But for now, let''s just keep it simple. \n\
|
||||
# If we want Apache to serve it with original name, we need a map.\n\
|
||||
# Since we moved logic to Node, Apache just serves raw files if needed.\n\
|
||||
</Directory>\n' >> /usr/local/apache2/conf/httpd.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user