Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

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?

share|improve this answer
    
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 Feb 21 '12 at 1:56
    
i cannot get this to work, hmm –  bobmoff Apr 3 at 9:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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