Skip to content
Snippets Groups Projects
Commit c571ab3c authored by Guilherme Arthur Gerônimo's avatar Guilherme Arthur Gerônimo
Browse files

SendFiles

parent 8cf3846e
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y \
multiarch-support \
libgmp-dev \
libuv1-dev \
libapache2-mod-xsendfile \
libxml2-dev &&\
dpkg -i /debs/*.deb &&\
rm -fr /var/lib/apt/lists
......
......@@ -5,6 +5,10 @@
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
#X-SendFile for huge GETs
XSendFile on
XSendFilePath /smartdata/tmp
# SSL
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server.crt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment