Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Sep 30, 2024
1 parent 90e6384 commit cba0ccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rootfs/usr/local/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ find /data/nginx -type f -name '*.conf' -not -path "/data/nginx/custom/*" -exec

find /data/nginx -type f -name '*.conf' -not -path "/data/nginx/custom/*" -exec sed -i "/ssl_stapling/d" {} \;
find /data/nginx -type f -name '*.conf' -not -path "/data/nginx/custom/*" -exec sed -i "/ssl_stapling_verify/d" {} \;
sed -i "/ssl_stapling/d" /data/nginx/default.conf
sed -i "/ssl_stapling_verify/d" /data/nginx/default.conf

if [ ! -s /data/etc/modsecurity/modsecurity-default.conf ]; then
cp -van /usr/local/nginx/conf/conf.d/include/modsecurity.conf.example /data/etc/modsecurity/modsecurity-default.conf
Expand Down

0 comments on commit cba0ccd

Please sign in to comment.