Bläddra i källkod

poprawka uploadow

master
Lukasz Jarosz 5 år sedan
förälder
incheckning
0b2b260410

+ 1
- 1
files/etc/templates/nginx_site_nossl.conf Visa fil

@@ -3,7 +3,7 @@ server {
3 3
 	listen [::]:80;
4 4
 
5 5
 	server_name $GITEA_DOMAIN;
6
-	client_max_body_size 200M;
6
+	client_max_body_size 0;
7 7
 
8 8
 	location / {
9 9
 		proxy_pass http://localhost:3000;

+ 2
- 1
files/etc/templates/nginx_site_ssl.conf Visa fil

@@ -19,7 +19,8 @@ server {
19 19
   listen [::]:443 ssl http2;
20 20
 
21 21
   server_name $GITEA_DOMAIN;
22
-  client_max_body_size 200M;
22
+  client_max_body_size 0;
23
+  proxy_http_version 1.1;
23 24
 
24 25
   ssl_certificate /data/ssl/cert.crt;
25 26
   ssl_certificate_key /data/ssl/cert.key;

Laddar…
Avbryt
Spara