Parcourir la source

Removed duplicate server_names_hash_bucket_size directive

Steve Kamerman il y a 8 ans
Parent
commit
761bbf9dbc
2 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 1
      Dockerfile
  2. 0 1
      Dockerfile.alpine

+ 0 - 1
Dockerfile

@@ -12,7 +12,6 @@ RUN apt-get update \
 
 # Configure Nginx and apply fix for very long server names
 RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
- && sed -i 's/^http {/&\n    server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf \
  && sed -i 's/worker_processes  1/worker_processes  auto/' /etc/nginx/nginx.conf
 
 # Install Forego

+ 0 - 1
Dockerfile.alpine

@@ -9,7 +9,6 @@ RUN apk add --no-cache --virtual .run-deps \
 
 # Configure Nginx and apply fix for very long server names
 RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
- && sed -i 's/^http {/&\n    server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf \
  && sed -i 's/worker_processes  1/worker_processes  auto/' /etc/nginx/nginx.conf
 
 # Install Forego