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
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;
Are you using CloudFlare tunnel?
not the tunnel.. just dns
it works locally obviously.. but i'd like to have the backup feature working from mobile
Hmmm
That
client_max_body_size
should take care of it
Try restart your proxy service maybe?thats what i thought..can i put it in the advanced tab of npm? or should it be in the conf file?>
I don't user NPM, I recall from other user they put it in the advanced tab
odd. what reverse proxy do you use
I use Caddy but for my prod instance I use VPN
oh.. im still very new to this. ill keep trying stuff. thanks
No problem
Caddy is simpler than NGINX
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?
Ah this is just about reading some stuff
sure
caddy works on unraid i guess?

probably
I use Promox
thats all it is? what about the subdomains?
ah the red text
your domain
is actually your subdomain
so immich.your-domain.com
and repeat for others?
yes sir
what about the client max size stuff?
automatically https by LetsEncrypt
request_body (Caddyfile directive) - Caddy Documentation
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
thank you for your help
ill read some more on it.
No problem, enjoy
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?
I am not sure
ah ok. thanks