title: Application Load Balancer https request to EC2 nodejs running on port 3000
body: <p>I have an ALB that is in HTTPS that will request to my EC2 instance.</p>
  
  <p>I configured the ALB listeners to HTTP/HTTPS then target my EC2.</p>
  
  <p>When I try to access my ALB with these:</p>
  
  <ol>
  <li><p><code>https://domainSample</code>
  <em>Response = Welcome to nginx</em></p></li>
  <li><p><code>https://domainSample/api/getSample</code>
  <em>Response = 404 Not Found nginx</em></p></li>
  <li><p><code>https://domainSample:3000</code>
  <em>No Response</em></p></li>
  </ol>
  
  <p>This is my nginx configuration in EC2 that runs on port 3000</p>
  
  <pre><code> server {
  
              listen 80;
              server_name domainSample;
  
              location / {
                      try_files $uri $uri/ =404;
              }
    }
  </code></pre>
  
  <p>Where did I go wrong?</p>