Start apache with exec
@@ -38,6 +38,9 @@ ENV ENABLE_ID_OBFUSCATION=false
ENV REDACT_IP_ADDRESSES=false
ENV WEBPORT=80
+# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
+STOPSIGNAL SIGWINCH
+
# Final touches
EXPOSE 80
CMD ["bash", "/entrypoint.sh"]
@@ -88,4 +88,4 @@ fi
echo "Done, Starting APACHE"
# This runs apache
-apache2-foreground
+exec apache2-foreground