Hi,
I am trying to install moodle on nginx instead on apache, and it comes with a few problems.
After a really long install, it's finally done, but slasharguments won't work. (moodle looks like it has no graphics or css files at all)
I tried adding following part to the nginx.conf file:
location ~ \.php(.*)$ { include fastcgi_params; fastcgi_index index.php; if (!-e $request_filename) { rewrite ^(.*\.php)(/)(.*)$ $1?file=/$3 last; } fastcgi_param SCRIPT_FILENAME ..\WWW\moodle2.9\html$fastcgi_script_name; fastcgi_pass 127.0.0.1:9000; fastcgi_read_timeout 250s; }My path are those:
Moodle root: C:\Program Files (x86)\nginx\WT-NMP\WWW\moodle2.9
Conf-files: C:\Program Files (x86)\nginx\WT-NMP\conf
nginx will not start anymore as soons as I put in this code snippet. Can somebody help me?
Thank you very much