Allow post max size to be up to 20mb

parent daa1613a
...@@ -41,6 +41,8 @@ COPY default /etc/nginx/sites-enabled/default ...@@ -41,6 +41,8 @@ COPY default /etc/nginx/sites-enabled/default
COPY php-fpm.conf /etc/php/7.0/fpm/php-fpm.conf COPY php-fpm.conf /etc/php/7.0/fpm/php-fpm.conf
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY laravel.ini /etc/php/php7.0/conf.d
RUN mkdir /tmp/certgen RUN mkdir /tmp/certgen
WORKDIR /tmp/certgen WORKDIR /tmp/certgen
RUN openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 \ RUN openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 \
......
...@@ -30,4 +30,5 @@ server { ...@@ -30,4 +30,5 @@ server {
location ~ /\.ht { location ~ /\.ht {
deny all; deny all;
} }
client_max_body_size 20M;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment