11

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?

9

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?

| improve this answer | |
  • 3
    1.1.14 Quoting the whole path seems to work. – Gabriel A. Zorrilla Feb 20 '12 at 21:53
  • Glad to know it works! – Pothi Kalimuthu Feb 21 '12 at 1:56
  • i cannot get this to work, hmm – bobmoff Apr 3 '14 at 9:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.