Try this config :-
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"root": {
"matchCondition": {
"route": "someRoute",
"methods": [
"GET",
"HEAD"
]
},
"backendUri": "https://myazureblobstorage.z6.web.core.windows.net/subfolder/index.html",
"responseOverrides": {
"response.headers.Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"response.headers.X-Content-Type-Options": "nosniff",
"response.headers.X-XSS-Protection": "1; mode=block",
"response.headers.x-frame-options": "SAMEORIGIN",
"response.headers.Content-Security-Policy": "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';",
"response.headers.Referrer-Policy": "same-origin",
"response.headers.Feature-Policy": "payment 'self'; geolocation 'self'"
}
},
"files": {
"matchCondition": {
"route": "someRoute/{filename}.{ext}",
"methods": [
"GET",
"HEAD"
]
},
"backendUri": "https://myazureblobstorage.z6.web.core.windows.net/subfolder/{filename}.{ext}"
},
"routes": {
"matchCondition": {
"route": "someRoute/{*restOfPath}",
"methods": [
"GET",
"HEAD"
]
},
"backendUri": "https://myazureblobstorage.z6.web.core.windows.net/subfolder/index.html",
"responseOverrides": {
"response.headers.Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"response.headers.X-Content-Type-Options": "nosniff",
"response.headers.X-XSS-Protection": "1; mode=block",
"response.headers.x-frame-options": "SAMEORIGIN",
"response.headers.Content-Security-Policy": "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';",
"response.headers.Referrer-Policy": "same-origin",
"response.headers.Feature-Policy": "payment 'self'; geolocation 'self'"
}
},
"assets": {
"matchCondition": {
"route": "someRoute/assets/{file}",
"methods": [
"GET",
"HEAD"
]
},
"backendUri": "https://myazureblobstorage.z6.web.core.windows.net/subfolder/assets/{file}"
},
"assets-folder-item": {
"matchCondition": {
"route": "my-center/assets/{folder}/{item}",
"methods": [
"GET",
"HEAD"
]
},
"backendUri": "https://myazureblobstorage.z6.web.core.windows.net/folder/subfolder/assets/{folder}/{item}"
}
}
}