Set up a Nextcloud session at our office to start and get away from Google. Unfortunately we don’t have public ip addresses and the one from the ISP is dynamic so we decided to use Nginx reverse proxy servers installed on Digital Ocean and just tunnel out the necessary ports we need access to. Attached a very quick and simple drawing of how this works:
Everything works great, the only problem we discovered recently is large file uploads. It seems that this is not a shortcoming I can’t get around and keep getting error 413.
For the record on the LAN Nextcloud is running with Apache, no issue whatsoever, only when I use through the proxies.
My Apache conf: https://pastebin.com/5G07iua5
No issues are appearing in the access or error logs, only the browser reports error 413.
Any help or guidance would be much appreciated!
P.S: Will add the rest of the configs, can’t post more than 2 links… And Yes I did research, spent 3 days on this already, can’t seem to figure it out. My last reference is from here: https://www.c-rieger.de/nextcloud-installation-guide/#c01