Browse Source

nginx修改

wisewoods 3 years ago
parent
commit
cd8ba909f3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ruoyi-ui/nginx.conf

+ 2 - 1
ruoyi-ui/nginx.conf

@@ -25,13 +25,14 @@ http {
     #tcp_nopush     on;
 
     keepalive_timeout  65;
+    client_max_body_size 50m;
 
 
     server{
         listen       80;
         listen  [::]:80;
         server_name  localhost;
-        
+
         location /prod-api/ {
            proxy_pass http://139.9.138.217:9090/;
         }