Explorar el Código

Merge pull request #13 from paimpozhil/master

Fix for long server names
Jason Wilder hace 11 años
padre
commit
de8fbeb27c
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -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