瀏覽代碼

Define stopsignal

bt90 2 年之前
父節點
當前提交
d00c9bbbed
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -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"]