add support for big files (for nextcloud)
This commit is contained in:
parent
2d686542c8
commit
57bdb2035e
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ RUN apt-get update \
|
|||
# Configure Nginx and apply fix for very long server names
|
||||
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
||||
&& sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf \
|
||||
&& echo "server_tokens off;" > /etc/nginx/conf.d/noservertokens.conf
|
||||
&& echo "server_tokens off;" > /etc/nginx/conf.d/noservertokens.conf \
|
||||
&& echo "client_max_body_size 10G" > /etc/nginx/conf.d/noservertokens.conf
|
||||
|
||||
# Install Forego
|
||||
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
|
||||
|
|
Loading…
Reference in a new issue