htaccess-for-nginx icon indicating copy to clipboard operation
htaccess-for-nginx copied to clipboard

Use

Open muuvmuuv opened this issue 2 years ago • 0 comments

Our NGINX working dir is mounted to an NFS, so any realpath_root will have a cryptic NFS route and therefor would never match the requested files path.

Either we switch to document_root or add an additional check.

local rootpath = ngx.var.document_root..'/'

muuvmuuv avatar Sep 05 '22 12:09 muuvmuuv