Upgrade Gitea to 1.17.0

Also adds a new Nginx directive to allow larger uploads to the Docker
registry endpoints.

closes #422
This commit is contained in:
Râu Cao
2022-08-09 11:58:56 +02:00
parent fdb326b91a
commit 65adc84e5b
3 changed files with 11 additions and 3 deletions

View File

@@ -31,6 +31,14 @@ server {
expires 30d;
}
# Docker registry
location /v2/ {
client_max_body_size 0;
proxy_buffers 1024 8k;
proxy_pass http://_gitea_web;
proxy_http_version 1.1;
}
location / {
proxy_buffers 1024 8k;
proxy_pass http://_gitea_web;