Browse Source

poprawka uploadow

master
Lukasz Jarosz 4 years ago
parent
commit
0b2b260410

+ 1
- 1
files/etc/templates/nginx_site_nossl.conf View File

@@ -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 View File

@@ -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;

Loading…
Cancel
Save