title: Nginx 404 not found
body: <p>I am using docker compose for running nginx with latest version, using the volumes i am copying the nginx.conf files into nginx docker container</p>
  <pre><code>  nginx:
      image: nginx:1.20
      container_name: nginx
      ports:
        - 80:80  
      restart: unless-stopped
      volumes:
        - ./nginx/nginx.conf:/etc/nginx/default.conf
      depends_on:
        - strapi
        - rocketchat
        - keycloak
      networks:
        - test-network
  </code></pre>
  <p>Every applications are running on a same Network.</p>
  <p>Here is the nginx.conf file</p>
  <pre><code>events {
    worker_connections  4096;  ## Default: 1024
  }
  http {
   server {
     listen 80;
  
     server_name qa.xxx.com;
  
     location / {
         proxy_pass http://strapi-container:1337/;
     }
  
     location /chat {
         proxy_pass http://rocketchat-container:3000;
  
     }
  
     location /auth {
         proxy_pass http://keycloak-container:8080;
         proxy_set_header Host $host;
     }
   }
  }
  </code></pre>
  <p>My intention is to run the three backend URL /, /chat, /auth with nginx configurations. When running the application on instance, http://ip-address/chat, http://ip-address/auth doesn't seems to work</p>
  <p>Here is the nginx log error</p>
  <pre><code>2021/06/02 07:46:42 [error] 31#31: *1 open() &quot;/usr/share/nginx/html/chat&quot; failed (2: No such file or directory), client: 115.96.103.237, server: localhost, request: &quot;GET /chat HTTP/1.1&quot;, host: &quot;310.28.67.222&quot;
  115.96.103.237 - - [02/Jun/2021:07:46:42 +0000] &quot;GET /chat HTTP/1.1&quot; 404 555 &quot;-&quot; &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36&quot; &quot;-&quot;
  2021/06/02 07:46:50 [error] 31#31: *2 open() &quot;/usr/share/nginx/html/auth&quot; failed (2: No such file or directory), client: 115.96.103.237, server: localhost, request: &quot;GET /auth HTTP/1.1&quot;, host: &quot;310.28.67.222&quot;
  115.96.103.237 - - [02/Jun/2021:07:46:50 +0000] &quot;GET /auth HTTP/1.1&quot; 404 555 &quot;-&quot; &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36&quot; &quot;-&quot;
  </code></pre>