Permalink
Browse files

added proxy.conf file. This stores nginx proxy related

configuration used after the various proxy_pass directives
  • Loading branch information...
1 parent e4bb1fb commit 9f76be8bbb591d4fa71c07ca53c6299d6f503fcf @pigeonflight committed Nov 14, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 proxy.conf
View
@@ -0,0 +1,16 @@
+client_max_body_size 0;
+client_body_buffer_size 128k;
+client_body_temp_path /home/dotcloud/current/var/client_body_temp;
+
+proxy_connect_timeout 90;
+proxy_send_timeout 90;
+proxy_read_timeout 90;
+proxy_buffer_size 4k;
+proxy_buffers 4 32k;
+proxy_busy_buffers_size 64k;
+proxy_temp_file_write_size 64k;
+proxy_temp_path /home/dotcloud/current/var/proxy_temp;
+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;

0 comments on commit 9f76be8

Please sign in to comment.