Moved 302 section before wildcard section

This commit is contained in:
2023-07-18 23:29:52 +02:00
parent 8d8630b0c5
commit 81a2fb2c7f
2 changed files with 24 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
variables:
HELM_CHART_VERSION: "99.6.23"
HELM_CHART_VERSION: "99.6.24"
stages:
- deploy

View File

@@ -81,29 +81,6 @@ data:
]
}
},
{
"action": {
"return": 404
},
"match": {
"uri": [
"/app/uploads/*.php",
"/app/uploads/*.php/*"
]
}
},
{
"action": {
"pass": "applications/php/direct"
},
"match": {
"uri": [
"*.php",
"*.php/*",
"/wp/wp-admin/"
]
}
},
{
"action": {
"return": 302,
@@ -128,6 +105,29 @@ data:
]
}
},
{
"action": {
"return": 404
},
"match": {
"uri": [
"/app/uploads/*.php",
"/app/uploads/*.php/*"
]
}
},
{
"action": {
"pass": "applications/php/direct"
},
"match": {
"uri": [
"*.php",
"*.php/*",
"/wp/wp-admin/"
]
}
},
{{- if eq .Values.site.enableWebpRoute "true" }}
{
"match": {