Opened 11 days ago

Closed 11 days ago

#3375 closed task (fixed)

repo.osgeo.org 413 Request Entity Too Large

Reported by: robe Owned by: jive
Priority: normal Milestone: Unplanned
Component: SysAdmin/Repo Keywords:
Cc:

Description

I think geoserver had complained about this earlier and I think I finally have the issue fixed once and for all.

Ran into same issue pushing a postgis image.

So I set the client_body_size 0 at the http level this time in nginx/conf and that seemed to fix the issue.

https://git.osgeo.org/gitea/sac/osgeo3-nginx/commit/89cd95d20788de13a27293638f6ded8559d7042b

diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index ad69c8f..b1e7f84 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -27,7 +27,7 @@ http {
 
 	server_names_hash_bucket_size 128;
 	# server_name_in_redirect off;
-
+	client_max_body_size 0;
 	include /etc/nginx/mime.types;
 	default_type application/octet-stream;
 

I probably should have done this in a include file to skip mucking with the nginx.con

Will revisit some other time.

Change History (1)

comment:1 by robe, 11 days ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.