Whether node static files need to be configured with nginx

express set app.use (express.static (path.join (_ _ dirname, "public"), nginx) do you still need to configure static resources?

Apr.02,2021

depends on the role of your nginx here, if it is a reverse proxy, then do not need it.


give you a hand

Menu