How to deploy the node front-end and back-end code using nginx as a proxy?

how to deploy node front-end and back-end code using nginx as a proxy?
if you just upload the file dist packaged by webpack to nginx, only static pages will appear without background effect
how to achieve this function?

Mar.03,2021

webpack is just a package of dependent resources, and your back-end code can be deployed separately.

Menu