Fix CORS for Synology WebDAV, no Nginx hacks

How to fix CORS timeouts when using Synology’s WebDAV server with browser-based applications. The solution uses HAProxy to handle CORS preflight requests reliably, avoiding the pain of Nginx configuration files being overwritten unexpectedly.