Update install

This commit is contained in:
VirtuBox
2019-02-21 21:17:54 +01:00
committed by GitHub
parent 54059de0e7
commit cb252595e5

View File

@@ -301,6 +301,7 @@ function wo_sync_db()
# Webp mapping
###
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
fi