Pārlūkot izejas kodu

Fix for long server names

Paim pozhil 11 gadi atpakaļ
vecāks
revīzija
d3f4efaa83
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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