drupal-with-nginx
drupal-with-nginx copied to clipboard
Redirect from pdf file location to Drupal page
trafficstars
I want to redirect from a file - that may or may not no longer exist in /sites/default/files, for example, /sites/default/files/myfile.pdf to /new-location. This doesnt work with the redirect module on nginx. It would be fairly simple with .htaccess but obviously we are not using that with nginx. Does anyone know how to make that work?