Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • You are suggesting that they remove the reverse proxy altogether and deploy the react files directly under a directory served by nginx? Commented Oct 26, 2021 at 11:08
  • 1
    yes I do, is that wrong? Commented Oct 26, 2021 at 11:25
  • No, it is a good idea. But maybe you could expand your answer to say that explicitly. Maybe also explain why that is better than the reverse proxy. Commented Oct 26, 2021 at 12:10
  • Actually, I don't understand why he needs to use different ports for the domain and react app. Here is a good tutorial on deploying a reactjs application with nginx. link Commented Oct 26, 2021 at 13:29
  • Rather than adding details in comments, please edit your answer to add requested information. You can then comment saying that you have done so. Comments here may get hidden by "show more comments" or could be deleted without notice. Editing updates into your answer ensures that they don't get lost and that everybody who wants to use your answer sees them. Commented Oct 26, 2021 at 13:47