Browse Source

config for images manipulation

master
art.dambrine 4 years ago
parent
commit
99f2423f86
  1. 5
      docker/nginx/default.conf
  2. 2
      docker/php/Dockerfile

5
docker/nginx/default.conf

@ -4,12 +4,13 @@
location / {
root /usr/src/app/src/public;
client_max_body_size 20M;
try_files $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
client_max_body_size 50m;
client_max_body_size 20M;
fastcgi_pass php:9000;
fastcgi_buffers 16 16k;

2
docker/php/Dockerfile

@ -7,7 +7,7 @@ RUN pecl install apcu
RUN apt-get update && \
apt-get install -y \
libzip-dev unzip telnet
libzip-dev unzip telnet jpegoptim optipng
# packages
RUN apt-get update \

Loading…
Cancel
Save