Adding new conf directory

This commit is contained in:
Ric Harvey
2015-01-28 14:09:25 +00:00
parent dfcc9ff123
commit 4f6561f35d

View File

@@ -28,6 +28,7 @@ RUN apt-get -y install php5-curl php5-gd php5-intl php-pear php5-imagick php5-im
RUN sed -i -e"s/worker_processes 1/worker_processes 5/" /etc/nginx/nginx.conf # gets over written by start.sh to match cpu's on container
RUN sed -i -e"s/keepalive_timeout\s*65/keepalive_timeout 2/" /etc/nginx/nginx.conf
RUN sed -i -e"s/keepalive_timeout 2/keepalive_timeout 2;\n\tclient_max_body_size 100m/" /etc/nginx/nginx.conf
RUN sed -i "s/.*conf\.d\/\*\.conf;.*/&\n include \/etc\/nginx\/sites-enabled\/\*;/" /etc/nginx/nginx.conf
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
# tweak php-fpm config