JSX files not loading into browser in production ENV

I’m using reactjs.net without webpack and chakra core Linux and windows. When in a development env all JSX scripts load into the browser under JS folder. When I switch to production ENV the JSX scripts are not loading only the JS scripts are loading. Currently I’m using a Linux VM and Nginx reverse proxy. The server is giving me the error ‘upstream prematurely closed connection while reading response header from upstream’. Do I need webpack for my JSX scripts to load in browser while in a production ENV?

Leave a Comment