Posted By

inthewayboy on 04/04/11


Tagged

nginx


Versions (?)

nginx rproxy - proxy.conf


 / Published in: Other
 

this file will be included in every rproxy definition

  1. proxy_redirect off;
  2. proxy_set_header Host $host;
  3. proxy_set_header X-Real-IP $remote_addr;
  4. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  5. client_max_body_size 10m;
  6. client_body_buffer_size 128k;
  7. proxy_connect_timeout 90;
  8. proxy_send_timeout 90;
  9. proxy_read_timeout 90;
  10. proxy_buffers 32 4k;

Report this snippet  

You need to login to post a comment.