Hi,
I am evaluating nginx for my product. We want reading/fetching all static content from nginx. But currently I am using a single glassfish server for all the requests. So all the requests from my android app comes to that server directly for all kind of requests.
Now I want image featch requests to be processed by nginx, while all other(including image upload) requests to processed by glassfish. So I will hit glassfish for image upload and from there I want to upload the file to nginx server, so that the file becomes available for read from nginx.
Could you please tell me how can I upload a file to a specific directory in the nginx using java code?
Regards,
Chandra
I am evaluating nginx for my product. We want reading/fetching all static content from nginx. But currently I am using a single glassfish server for all the requests. So all the requests from my android app comes to that server directly for all kind of requests.
Now I want image featch requests to be processed by nginx, while all other(including image upload) requests to processed by glassfish. So I will hit glassfish for image upload and from there I want to upload the file to nginx server, so that the file becomes available for read from nginx.
Could you please tell me how can I upload a file to a specific directory in the nginx using java code?
Regards,
Chandra