How to do an NFS drive for assets?


I’m attempting to have a separate NFS server for assets. I’ve added a constants.php file in /app and changed the path to the drive I’ve mounted on the application server using PIMCORE_ASSET_DIRECTORY. Does this mounted drive need to be mounted under the /web/var/assets? Or can I mount it outside that and reference the path using the contstants.php? I have it outside that path, currently, but it seems to just ignore it.


should be possible outside and referencing it via constants.php.

But, when you want to deliver assets via web-browser, you might need a symlink to your ‘outside asset location’ (or change the .htaccess), because Assets are delivered directly via web servers and they don’t know anything about the constants.