Skip to content

Commit

Permalink
perf: update nginx config path
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler authored and BaiJiangJie committed Dec 5, 2024
1 parent 4d8b122 commit e847493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function copy_versions_to_core() {

function config_gzip() {
if [[ "${GZIP}" == "off" ]]; then
sed -i "s@gzip .*;@gzip ${GZIP};@g" /etc/nginx/conf.d/*.conf
sed -i "s@gzip .*;@gzip ${GZIP};@g" /etc/nginx/nginx.conf
fi
}

Expand Down

0 comments on commit e847493

Please sign in to comment.