Skip to content

Commit ba568a2

Browse files
authored
Merge pull request #6 from simplesteph/patch-1
apply fix for very long server names
2 parents 59bd278 + 86f425a commit ba568a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM nginx:latest
22

3+
# apply fix for very long server names
4+
RUN sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf
5+
36
WORKDIR /root/
47

58
RUN apt-get update && apt-get install -y -q --no-install-recommends curl unzip && apt-get clean

0 commit comments

Comments
 (0)