diff --git a/Dockerfile b/Dockerfile index 3bff973..6c84460 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,5 +36,6 @@ RUN touch /var/run/nginx.pid && \ USER nginx EXPOSE 80 +EXPOSE 8080 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 921893f..50aa164 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,4 +16,12 @@ server { location /health { return 200; } +} + +server { + listen 8080; + + location = /stub_status/ { + stub_status; + } } \ No newline at end of file