Fix for long server names

This commit is contained in:
Paim pozhil 2014-06-08 01:23:16 +05:30
parent 4f3d690cd3
commit d3f4efaa83

View file

@ -10,6 +10,9 @@ RUN apt-get update
RUN apt-get install -y nginx RUN apt-get install -y nginx
RUN echo "daemon off;" >> /etc/nginx/nginx.conf RUN echo "daemon off;" >> /etc/nginx/nginx.conf
#fix for long server names
RUN sed -i 's/# server_names_hash_bucket/server_names_hash_bucket/g' /etc/nginx/nginx.conf
RUN mkdir /app RUN mkdir /app
WORKDIR /app WORKDIR /app
ADD . /app ADD . /app