Run NGINX server as redirector for Applicare controller
Step 1: Follow the instruction to Install Applicare
Step 2: Download nginx
Step 3: Extract the Nginx zip file.
Step 4: Go to the conf folder for the nginx extracted folder. And edit the nginx.conf file.
Step 5: Enter the IP of the machine running nginx instead of localhost where the server name is.
Step 6: Add the below line before server line
upstream applicareController {
ip_hash;
server <Controller_IP>:<Contrller_Port>;
}
Step 7: Add the below line in end of location line.
proxy_pass http://applicareController;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Step 8: Go to Applicare controller installed machine.
Step 9: Go to the folder where Applicare is installed and enter the server IP and server port in the Applicare.props and ApplicareController.props file with the nginx running IP and port.
Note:
To stop the Nginx please go to nginx extracted directory then execute below command.
nginx -s stop
Start Nginx with task scheduler
Please sign in to leave a comment.
Comments
0 comments