There are many reasons why you should use a reverse proxy in front of our JFrog product. The two most common scenarios are when:
- You have several nodes and you want to set up a load balancer between them
- You need to redirect requests to a specific port
In some instances, requests won't reach a JFrog product as a result of a reverse proxy issue.
Accordingly, it's wise to enable Nginx logging, as it may help you to identify the root cause of of a
given problem. You can do this by adding the following lines under the server block of your
configuration file:
access_log /var/log/nginx/$NAME_OF_LOG_FILE-access.log timing; //This will enable the Nginx access log error_log /var/log/nginx/$NAME_OF_LOG_FILE-error.log debug; //This will enable the Nginx error log with debug mode