nginx rproxy - proxy.conf


/ Published in: Other
Save to your folder(s)

this file will be included in every rproxy definition


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.