12

I want to move a website from /var/www/WebSite to /media/Backed Websites/Website. I can't make nginx recognise the "Backed Website" directory. Tried with quotes, with the \,but no success. Any idea? Is this even possible?

1 Answer 1

10

It is possible. We can't use \, though. Single and double quotes are expected to work, especially on root directive. So, you could try single quotes.

BTW, which version of Nginx are you using?

3
  • 3
    1.1.14 Quoting the whole path seems to work.
    – Gabriel
    Feb 20, 2012 at 21:53
  • Glad to know it works! Feb 21, 2012 at 1:56
  • i cannot get this to work, hmm
    – bobmoff
    Apr 3, 2014 at 9:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .