title: NGINX server_name not work 2
body: <p>My website always open in path localhost, but my server_name have other domen name. How i can fix it ? 
  My configuration</p>
  
  <p><a href="https://i.stack.imgur.com/MXm5k.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/MXm5k.jpg</a></p>
  
  <pre><code>#user  nobody;
  worker_processes  1;
  
  #error_log  logs/error.log;
  #error_log  logs/error.log  notice;
  #error_log  logs/error.log  info;
  
  #pid        logs/nginx.pid;
  
  
  events {
      worker_connections  1024;
  }
  
  
  http {
  
      server {
          listen 80;
          server_name  mydomain;
  
          #charset koi8-r;
  
          access_log  logs/host.access.log;
  
          location / {
              proxy_pass http://127.0.0.1:3037;
          }
  
      }
  
  }
  </code></pre>