title: Laravel Cannot Access Image Stored in Storage Folder after Uploading in Server
body: <p>I am trying to upload and retrieve image in my Laravel project. It worked perfectly in my local server, but after uploading in live server, its not working.</p>
  
  <p>I am using nginx.</p>
  
  <p>I have tried <code>php artisan storage:link</code> but it says </p>
  
  <blockquote>
    <p>The "public/storage" directory already exists</p>
  </blockquote>
  
  <p>I am using this line to open the stored image in a new page. </p>
  
  <pre><code>&lt;a href="{{ url('/storage/images/'.$file-&gt;file_name) }}" title=""&gt;View&lt;/a&gt;
  </code></pre>
  
  <p>If I place mouse on the view button, it shows this link: <code>my_ip/storage/images/image.png</code> which I think is correct.</p>
  
  <p>However, clicking the link redirects to homepage.</p>