diff options
Diffstat (limited to 'extras')
-rw-r--r-- | extras/hs-test/docker/Dockerfile.nginx-server | 4 | ||||
-rwxr-xr-x | extras/hs-test/script/nginx_mirroring_entrypoint.sh | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/extras/hs-test/docker/Dockerfile.nginx-server b/extras/hs-test/docker/Dockerfile.nginx-server index 0720c6f2cb7..ce397ec7b83 100644 --- a/extras/hs-test/docker/Dockerfile.nginx-server +++ b/extras/hs-test/docker/Dockerfile.nginx-server @@ -7,6 +7,6 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* COPY resources/nginx/nginx_server_mirroring.conf /nginx.conf +COPY script/nginx_mirroring_entrypoint.sh /usr/bin/nginx_mirroring_entrypoint.sh - -ENTRYPOINT nginx -c /nginx.conf +ENTRYPOINT ["nginx_mirroring_entrypoint.sh"] diff --git a/extras/hs-test/script/nginx_mirroring_entrypoint.sh b/extras/hs-test/script/nginx_mirroring_entrypoint.sh new file mode 100755 index 00000000000..6581c8b74d3 --- /dev/null +++ b/extras/hs-test/script/nginx_mirroring_entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nginx -c /nginx.conf |