update for shrink image size.
ci-cd-vm / ci-cd (push) Successful in 1m23s

This commit is contained in:
Chris Chen
2026-06-23 13:30:20 -07:00
parent 62592c29ae
commit 5dfca873dd
5 changed files with 68 additions and 16 deletions
+5
View File
@@ -12,6 +12,11 @@ server {
ssl_certificate_key /etc/letsencrypt/live/app.rolac.org/privkey.pem;
location /api/ {
# nginx defaults to 1 MB, which 413s phone-camera receipt uploads before they
# reach the API. Keep this >= the largest API [RequestSizeLimit] (offerings = 50 MB)
# so the per-endpoint limits in the controllers stay the real authority.
client_max_body_size 50m;
proxy_pass http://api:8080/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;