Explorar o código

Fix for long server names

Paim pozhil %!s(int64=11) %!d(string=hai) anos
pai
achega
d3f4efaa83
Modificáronse 1 ficheiros con 3 adicións e 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