title: Upload images to a different static web server
body: <p>I am building an application (PHP/Codeigniter/MySQL) where users can upload images. The main application will be on an Apache web server and all static files (images, videos, etc.) will be served from a Nginx web server.</p>
  
  <p>Application Server : www.website.com</p>
  
  <p>Static Server : static.website.com</p>
  
  <p>Can anyone please whats the proper way to upload images to the Static web server? Links to the images will be stored on the main server, but the actual images are to be uploaded directly to the Nginx server.</p>
  
  <p>Thanks</p>