Added tests and improvements
[nonrtric.git] / test / cr / app / nginx.conf
index 479d896..32beca1 100644 (file)
@@ -39,8 +39,14 @@ http {
 
         # serve dynamic requests
         location / {
-        proxy_pass      http://localhost:2222;
+           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_pass      http://localhost:2222;
+
+           client_max_body_size 0;
         }
+
     }
     ##
     # SSL Settings