Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

how to apload a file to nginx server using a java code

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>