dimanche 4 août 2019

ERR_SPDY_PROTOCOL_ERROR on nginx by js file name

I want to deploy my index.html and bundle.0.0.0.js on my nginx server and got ERR_SPDY_PROTOCOL_ERROR 200 message in the browser. ERR_SPDY_PROTOCOL_ERROR 200 image

curl -I https://{my-web-site}/bundle.0.0.0.js works okay, but the web browsers cannot load the js file. Even the HTTP status code of js file is 200 OK. 200 OK screenshot

When I change the js filename to bundle.js, everything works fine. Browsers can load the js file well.

What's happening? how can i fix the problem? thank you very much.




Aucun commentaire:

Enregistrer un commentaire