Update install
This commit is contained in:
3
install
3
install
@@ -301,6 +301,7 @@ function wo_sync_db()
|
|||||||
# Webp mapping
|
# Webp mapping
|
||||||
###
|
###
|
||||||
if [ ! -f /etc/nginx/conf.d/webp.conf ]; then
|
if [ ! -f /etc/nginx/conf.d/webp.conf ]; then
|
||||||
|
mkdir -p /etc/nginx/conf.d
|
||||||
echo -e 'map $http_accept $webp_suffix {\n default "";\n "~*webp" ".webp";\n}\n' > /etc/nginx/conf.d/webp.conf
|
echo -e 'map $http_accept $webp_suffix {\n default "";\n "~*webp" ".webp";\n}\n' > /etc/nginx/conf.d/webp.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -719,4 +720,4 @@ else
|
|||||||
echo
|
echo
|
||||||
wo_lib_echo "Yay! WordOps (wo) installed/updated successfully"
|
wo_lib_echo "Yay! WordOps (wo) installed/updated successfully"
|
||||||
wo_lib_echo "WordOps (wo) help: https://wordops.org/docs"
|
wo_lib_echo "WordOps (wo) help: https://wordops.org/docs"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user