Revert the changes for Docker non root user
[nonrtric.git] / test / mrstub / app / nginx.conf
index 60b1dd9..35b5ba0 100644 (file)
@@ -28,10 +28,10 @@ http {
     default_type application/octet-stream;
 
     server { # simple reverse-proxy
-        listen      3905;
-        listen      [::]:3905;
-        listen      3906 ssl;
-        listen      [::]:3906 ssl;
+        listen      3904;
+        listen      [::]:3904;
+        listen      3905 ssl;
+        listen      [::]:3905 ssl;
         server_name  localhost;
         ssl_certificate     /usr/src/app/cert/cert.crt;
         ssl_certificate_key /usr/src/app/cert/key.crt;
@@ -39,7 +39,8 @@ http {
 
         # serve dynamic requests
         location / {
-        proxy_pass      http://localhost:2222;
+            proxy_pass      http://localhost:2222;
+            client_max_body_size 0;
         }
     }
     ##