Nginx 反向代理 504 Gateway Time-out - yshy - 博客园

location / {
    proxy_redirect off;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_connect_timeout 3000;
    proxy_send_timeout 3000;
    proxy_read_timeout 3000;
    proxy_pass http://0.0.0.0:3000;
  }
    location /ssfwpt {
    proxy_set_header  X-Real-IP  $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;


    proxy_connect_timeout 300;
    proxy_send_timeout              300;
    proxy_read_timeout              300; 
    proxy_pass http://xxxx;
}

Original url: Access
Created at: 2019-11-21 14:02:54
Category: default
Tags: none

请先后发表评论
  • 最新评论
  • 总共0条评论