React to Apache Server

Asked 2 years ago, Updated 2 years ago, 106 views

Currently, we are turning the storage to the Apache on the ec2

I also want to distribute React, can I use that Apache to turn both React and Janggo?

If so, what is the method?

If not, should I use nginx to spin the reaction separately?

react apache

2022-09-21 10:13

1 Answers

The 'react' you're talking about would be a full stack application that runs on a node.js, express-based server implementation in the context. It's not a Python app in the first place, so you'll have to configure a separate virtual host that's different from the "jango" you're running now.

But I looked it up roughly, and you don't have to float Nginx, but you just need to set the proxy.In short, when you receive a request to mydomain.com/foo?bar=dee on 80 or 443 ports, you can only turn the port and set localhost:3100/foo?bar=dee to respond. (In fact, all of the tasks of turning the node app on Nginx were


2022-09-21 10:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.