title: Laravel Forge - access app by naked IP instead of domain name
body: <p>I have a laravel app on production (using Laravel Forge and a Digital Ocean droplet).</p>
  
  <p>I'm able to access the app via www.domain.com, but if I try with the server's IP I get a 404 (nginx).</p>
  
  <p>How can I manage to access the app with the IP address?</p>
  
  <p>Thanks a lot for your help</p>
  
  <p>EDIT:</p>
  
  <p>Here is my Nginx config on Laravel Forge:</p>
  
  <pre><code>server {
      listen 443 ssl http2;
      listen [::]:443 ssl http2;
      server_name domain.com;
      root /home/forge/domain.com/public;
      ...
  }
  </code></pre>