I am using Moodle 3.2 on nginx and php 7.
I am getting 404 for uploaded scorm packages on web portal but it works fine on mobile app.
For uploaded epub books, I get 404 on mobile app as following screen shot(got link from console), but works on web portal.
I think problem is with nginx conf not sure what, I have followed the nginx link on moodle docs, still doesn't work.
Hi,
when talking about Docs do you mean:
- https://docs.moodle.org/32/en/Using_slash_arguments
- https://docs.moodle.org/32/en/Nginx#Slasharguments
?
HTH,
Matteo
Yup, the same links I have followed.
I have had the same installation on apache worked without such issues.
I have had the same installation on apache worked without such issues.
Error in error.log
2017/06/02 13:11:50 [error] 13791#13791: *903 open() "ProductPage/404.html" failed (2: No such file or directory), client: 10.5.4.174, server: localhost, request: "GET /webservice/pluginfile.php/271/mod_book/chapter/335/index.html?token=cd594470bbb1a7d7cd33adad208c2d6c HTTP/1.1", host: "abdyna.com"
Hi,
could you share here your main configuration files?
Sorry for late reply.
Had some misconfiguration in nginx. Solved, it was redirecting to all /html to 404 under location.