Added section for try webp
This commit is contained in:
@@ -134,6 +134,28 @@ data:
|
||||
]
|
||||
}
|
||||
},
|
||||
{{- if eq .Values.site.enableWebpRoute "true" }}
|
||||
{
|
||||
"match": {
|
||||
"uri": [
|
||||
"*.jpg",
|
||||
"*.jpeg",
|
||||
"*.gif",
|
||||
"*.png"
|
||||
]
|
||||
},
|
||||
"action": {
|
||||
"share": [
|
||||
"/app/web$uri.webp",
|
||||
"/app/web$uri"
|
||||
],
|
||||
"fallback": {
|
||||
"pass": "applications/php/index"
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
{{- end }}
|
||||
{
|
||||
"action": {
|
||||
"share": "/app/web$uri",
|
||||
|
||||
Reference in New Issue
Block a user