diff --git a/nginx.conf b/nginx.conf index 4208db4..93f2ca7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -43,6 +43,8 @@ http { listen 80; server_name registry.flowy.live; + client_max_body_size 500M; + location / { proxy_pass http://registry:5000; proxy_set_header Host $host; @@ -55,6 +57,8 @@ http { listen 443 ssl; server_name registry.flowy.live; + client_max_body_size 500M; + # RSA certificate ssl_certificate /etc/letsencrypt/live/flowy.live/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/flowy.live/privkey.pem; # managed by Certbot