No subject

Ilan Berkner ilan at
Sun Dec 18 16:44:54 UTC 2011

Switching a Moodle site from standard Apache configuration to Nginx +

Many of the Moodle course static files are loaded in this fashion:


How do I correctly use try_files and / or location block to rewrite the URL

This URL: shows how one
person solved this issue, but it seems that there should be a cleaner way?

Maybe using try_files?

Another person solved it this way:

Thanks if anyone can help.


Ilan Berkner
Chief Technology Officer

6300 NE 1st Ave., Suite 203
Ft. Lauderdale, FL 33334
(954) 771-0914

<> <> - Online interactive curriculum for home use, PreK-8th
Grade. - Online writing tutorials for high, middle, and
elementary school students. - A forum to chat with parents online about kids,
education, parenting and more. - Online vocabulary and spelling activities for teachers,
parents and students.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list