My APISIX Dashboard is behind a load balancer VIP and the VIP automatically add the below header in the server response
X-Content-Type-Options: nosniff
Because of this, the browser is not able to execute the javascript as the Content-Type being set by the Dashboard application is text/html instead of text/javascript.
How to resolve this issue?
Expected behavior
View APISIX Dashboard Login page
How to Reproduce
Place APISIX Dashboard behind a load balancer vip and configure the vip to add the below header in the response
X-Content-Type-Options: nosniff
Screenshots
No response
Environment
apisix version (cmd: apisix version): 3.4.1
OS (cmd: uname -a): RHEL 8
OpenResty / Nginx version (cmd: nginx -V or openresty -V): 1.21.4.1
Issue description
My APISIX Dashboard is behind a load balancer VIP and the VIP automatically add the below header in the server response
X-Content-Type-Options: nosniff
Because of this, the browser is not able to execute the javascript as the Content-Type being set by the Dashboard application is text/html instead of text/javascript.
How to resolve this issue?
Expected behavior
View APISIX Dashboard Login page
How to Reproduce
Place APISIX Dashboard behind a load balancer vip and configure the vip to add the below header in the response
X-Content-Type-Options: nosniff
Screenshots
No response
Environment
apisix version
): 3.4.1uname -a
): RHEL 8nginx -V
oropenresty -V
): 1.21.4.1etcd --version
):Additional context
No response