Fix for long server names
This commit is contained in:
parent
4f3d690cd3
commit
d3f4efaa83
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue