Plesk 11.5.30 nginx 404 Not Found

Ankebut

Regular Pleskian
Hello,

after i am select "Serve static files directly by nginx" and " Process PHP by nginx " my domain is not available and i receive error 404 or 403 Not Found i ahve try all solution here on forum and google but nothing, can please anyone help me?

Bildschirmfoto 2014-05-04 um 17.42.32.jpg (157.0 KB)
 

Attachments

  • Bildschirmfoto 2014-05-04 um 17.42.32.jpg
    Bildschirmfoto 2014-05-04 um 17.42.32.jpg
    157 KB · Views: 27
  • Bildschirmfoto 2014-05-04 um 17.43.00.jpg
    Bildschirmfoto 2014-05-04 um 17.43.00.jpg
    46.8 KB · Views: 26
Maybe not the answer you are hoping to get, but I would recomment to stay away from NGINX as frontend with Plesk. It does not offer anything usefull.

Parallels believes or at least says that it saves memory, but I doubt that. You are running an extra process, just for the sake of saving memory. That sounds stupid to me. Keep in mind, nginx does not cache anything. It is _not_ a caching proxy. It is only there to serve static files (images, css, static html), which is said to have a somewhat lower memory footprint than Apache. However, again, nginx consumes memory as well, which could be saved by just sticking with Apache.

It doesn't make your site perform better. I feel it only adds complexity. My recommendation is to uninstall nginx and stick with Apache.
 
Try to disable nginx on your server through command line

Code:
/usr/local/psa/admin/sbin/nginxmng -d

And rebuild httpd configuration

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Hello i have other problem after rebuild:

Code:
Unable to generate the web server configuration file on the host <h229555.stratoserver.net> because of the following errors:

Template_Exception: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/doitauto.de.conf: No such file or directory

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

and here second Error:

Code:
Unable to generate the web server configuration file on the host <h2293214.stratoserver.net> because of the following errors:

Template_Exception: Can not restart web server: 
file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 100
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

but the files always exist ?
Bildschirmfoto 2014-05-04 um 23.57.56.jpg
 
Last edited:
Hello,

Can you please your httpd service config test and service status through following command

Code:
httpd -t

Code:
service httpd status
 
Back
Top