• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue fpm application served by nginx" generates randomly 404 not found

walleSenpai

New Pleskian
Hello !

I am having a problem with my plesk obsidian and nginx fpm application served by nginx.

I want to use nginx as a webserver not with proxy. But the problem that i am having is that if I disable nginx proxy, in the php configuration the fpm application served by nginx it is serving me an error 404. It is a moodle and i do not have .httacces there, the only way that i found now, is using nginx reverse proxy and fpm applñication served by apache.
I've tried a lot of possible configurations and neither of one worked for me using fpm application server by nginx. Anyone have an idea ?


Thanks a lot !

William
 

Attachments

  • nginx2.png
    nginx2.png
    390.9 KB · Views: 15
  • nginx3.png
    nginx3.png
    49 KB · Views: 16
  • nginx4.png
    nginx4.png
    65.1 KB · Views: 16
hello @walleSenpai ,

I was able to install moodle 3.1.1 from the official site on my test plesk server with ubuntu20 without any problems.

first of all I've created database (MariaDB 10.3 shipped by default) for my test domain, set php 7.3 mpm server by nginx in domain settings, download and unpack moodle distributive to the document root.
In apache & nginx settings for domain I've unset the checkbox 'Proxy mode' and enabled serving static files by nginx.
that's all, after that when I opened my domain via http it shown moodle installation wizard.

I guess that you need to check during installation that all needed php modules are present in your system. php provided by Plesk usually shipped with most of popular extensions (and they satisfy moodle installer)


2021-05-25 101333 moodle.jpg
 
Back
Top