I
Immich2y ago
bozzio

upload large files

Hello. I have immich setup and working great.. when i try and upload my old photos they all go except files over 100mb.. same with backup from my mobile device.
27 Replies
bozzio
bozzioOP2y ago
I've added these lines to the config. client_max_body_size 50000M; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;
Alex Tran
Alex Tran2y ago
Are you using CloudFlare tunnel?
bozzio
bozzioOP2y ago
not the tunnel.. just dns it works locally obviously.. but i'd like to have the backup feature working from mobile
Alex Tran
Alex Tran2y ago
Hmmm That client_max_body_size should take care of it Try restart your proxy service maybe?
bozzio
bozzioOP2y ago
thats what i thought..can i put it in the advanced tab of npm? or should it be in the conf file?>
Alex Tran
Alex Tran2y ago
I don't user NPM, I recall from other user they put it in the advanced tab
bozzio
bozzioOP2y ago
odd. what reverse proxy do you use
Alex Tran
Alex Tran2y ago
I use Caddy but for my prod instance I use VPN
bozzio
bozzioOP2y ago
oh.. im still very new to this. ill keep trying stuff. thanks
Alex Tran
Alex Tran2y ago
No problem Caddy is simpler than NGINX
bozzio
bozzioOP2y ago
i used it on windows..,. i didnt find it simple at all.. lol. but i dont know coding.. i need to find a copy and paste sort of thing. could you maybe send me your caddyfile? and i could tweak for my use?
Alex Tran
Alex Tran2y ago
Ah this is just about reading some stuff sure
bozzio
bozzioOP2y ago
caddy works on unraid i guess?
Alex Tran
Alex Tran2y ago
No description
Alex Tran
Alex Tran2y ago
probably I use Promox
bozzio
bozzioOP2y ago
thats all it is? what about the subdomains?
Alex Tran
Alex Tran2y ago
ah the red text your domain is actually your subdomain so immich.your-domain.com
bozzio
bozzioOP2y ago
and repeat for others?
Alex Tran
Alex Tran2y ago
yes sir
bozzio
bozzioOP2y ago
what about the client max size stuff?
Alex Tran
Alex Tran2y ago
automatically https by LetsEncrypt
Alex Tran
Alex Tran2y ago
request_body (Caddyfile directive) - Caddy Documentation
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
bozzio
bozzioOP2y ago
thank you for your help ill read some more on it.
Alex Tran
Alex Tran2y ago
No problem, enjoy
bozzio
bozzioOP2y ago
hey sorry to bug you again. i installed caddy..pointed it to my immich and i get invalid SSL cert i guess i need to turn off cloudflare dns?
Alex Tran
Alex Tran2y ago
I am not sure
bozzio
bozzioOP2y ago
ah ok. thanks

Did you find this page helpful?