Nginx image issue when port removed from url

Posted July 18, 2020 267 views

I was following this tutorial:
and when I get to the part about removing the the port number from the URL, the website still works but now none of my images will load. Does it have something to do with the fact that I have my React app redirecting from “/” to “/Home”?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @mikedq1225,

What is the exact error that you get in your web console?

What I would suggest instead is following the steps from this step by step tutorial here on how to set up your application for production with Nginx:

Let me know how it goes.

by Brennen Bearnes
by Kathleen Juell
Node.js is an open-source JavaScript runtime environment for building server-side and networking applications. Node.js applications can be run at the command line but this guide focuses on running them as a service using PM2, so that they will automatically restart on reboot or failure, and can safely be used in a production environment.