We currently have a three server setup:
- NGINX reverse proxy
- WordPress instance
- ASP.Net application
We use the NGINX reverse proxy to integrate the other two web services into one website.
Based on the URL, NGINX fetches the result from the WordPress server or the ASP.Net server.
These are the rules we configured:
- Traffic to specific directories goes to the ASP.Net application
- Pages with an aspx extension go to the ASP.Net application
- All other traffic goes to the WordPress server
We are planning to implement Cloudflare because of security. However, the chain of requests would become larger and so would the latency since not all requests are cacheable.
So we are trying to figure out how we can implement Cloudflare so we can get rid of the current reverse proxy server. A Cloudflare sales rep said this could be done with the load balancing service.
I opened a free account to try the setup in a proof of concept. I bought the load balancing service on top but can’t seem to find any settings to configure routing between the servers.
Can it be done using the load balancing service?
Or do I need workers? If so, does anyone have an example?
With kind regards!