I was able to fix the issue. I added SITEURL and HOME with the Nginx IP address in wp-config.ph file from both hosts and it fixed the issue. Just wanted to post the answer just incase someone is new like me and have similar issue. define('WP_SITEURL','http://192.168.1.226'); define( 'WP_HOME', 'http://192.168.1.226' ); I have another question: Can someone help? I tried to search for it in theby libtech - Other discussion
Hi Community, Nginx is new for me. I want to use it as a load balancer for two WordPress websites. I installed Ngnix on a Rhel9 server and created a loadbalancer.conf file in etc/nginx/cond.d/ with the below content. When I type the ngnix IP address in the browser, it redirects me to the host. The web servers' IPs are 192.168.1.106 and 211, and the Nginx IP is 192.168.1.226. When I enter the Ngniby libtech - Other discussion