Problem with moodle docs for nginx install

Re: Problem with moodle docs for nginx install

by Walter Byrd -
Number of replies: 0
Update.
I created a sites-enabled/moodle.conf file. I included the "location" directive from moodle docs.
Nginx seems to run. Nginx will work with php, but not javascript.
When I try to install Moodle. I get the following in my error log:

2020/08/24 12:43:12 [error] 20154#20154: *7 open() "/var/www/html/moodle/theme/styles.php/boost/1598217947_1/all" failed (20: Not a directory), client: 127.0.0.1, server: _, request: "GET /moodle/theme/styles.php/boost/1598217947_1/all HTTP/1.1", host: "myserver", referrer: "http://myserver/moodle/user/editadvanced.php?id=2"

2020/08/24 12:43:12 [error] 20154#20154: *7 open() "/var/www/html/moodle/lib/javascript.php/1598217947/lib/mdn-polyfills/polyfill.js" failed (20: Not a directory), client: 127.0.0.1, server: _, request: "GET /moodle/lib/javascript.php/1598217947/lib/mdn-polyfills/polyfill.js HTTP/1.1", host: "myserver", referrer: "http://myserver/moodle/user/editadvanced.php?id=2"