Fix for long server names

This commit is contained in:
Paim pozhil 2014-06-08 01:23:16 +05:30
parent 4f3d690cd3
commit d3f4efaa83
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ RUN apt-get update
RUN apt-get install -y nginx
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
WORKDIR /app
ADD . /app