nginx 相关

server {
listen 9201;
server_name 60.204.202.73;

    location / {
      #  root   html;
      #  index  index.html index.htm;
        proxy_pass http://127.0.0.1:9200;
        proxy_connect_timeout 60s;
        proxy_read_timeout 60s;
    }
}
 server {
    listen       5602;
    server_name  60.204.202.73;

    location / {
      #  root   html;
      #  index  index.html index.htm;
        proxy_pass http://127.0.0.1:5601;
        proxy_connect_timeout 60s;
        proxy_read_timeout 60s;
    }
}

你可能感兴趣的:(nginx,服务器,数据库)