vhost.conf 422 B

12345678910111213
  1. server{
  2. listen 80;
  3. server_name dev.fenpeiduixiang.com;
  4. location / {
  5. proxy_pass http://msyprod-server;
  6. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  7. proxy_set_header X-Forwarded-Proto $scheme;
  8. proxy_set_header X-Forwarded-Port $server_port;
  9. proxy_connect_timeout 5;
  10. proxy_read_timeout 10;
  11. proxy_send_timeout 60;
  12. }
  13. }