Browse Source

poprawka uploadow

master
Lukasz Jarosz 5 years ago
parent
commit
0b2b260410

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

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

+ 2
- 1
files/etc/templates/nginx_site_ssl.conf View File

19
   listen [::]:443 ssl http2;
19
   listen [::]:443 ssl http2;
20
 
20
 
21
   server_name $GITEA_DOMAIN;
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
   ssl_certificate /data/ssl/cert.crt;
25
   ssl_certificate /data/ssl/cert.crt;
25
   ssl_certificate_key /data/ssl/cert.key;
26
   ssl_certificate_key /data/ssl/cert.key;

Loading…
Cancel
Save