Welcome! Log In Create A New Profile

Advanced

(no subject)

Ilan Berkner
December 18, 2011 11:46AM
Switching a Moodle site from standard Apache configuration to Nginx +
PHP-FPM.

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

.../file.php/50/Logo_SensationalSentences_sm.gif

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

This URL: http://moodle.org/mod/forum/discuss.php?d=157382 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:
http://moodle.org/mod/forum/discuss.php?d=83445

Thanks if anyone can help.

--

Ilan Berkner
Chief Technology Officer
Time4Learning.com

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

http://www.twitter.com/time4learning http://www.facebook.com/Time4Learning


Time4Learning.com - Online interactive curriculum for home use, PreK-8th
Grade.
Time4Writing.com - Online writing tutorials for high, middle, and
elementary school students.
Time4Learning.net - A forum to chat with parents online about kids,
education, parenting and more.
spellingcity.com - Online vocabulary and spelling activities for teachers,
parents and students.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

(no subject)

Ilan Berkner December 18, 2011 11:46AM

Re: (no subject)

locojohn December 18, 2011 04:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready