Welcome! Log In Create A New Profile

Advanced

nginx configuration - sharetronix

November 03, 2014 01:40AM
i try to setup sharetronix on my vps server, with nginx + php5-fpm. The problem is (maybe) my nginx configuration, when i try to view website, i get error 404 - No input file specified.

My configuration (at last)

server {
root /var/www/sharetronix.example;
server_name sharetronix.example www.sharetronix.example;
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?$request_uri break;
}
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
error_log /var/log/nginx/sharetronix.example.error.log;
access_log /var/log/nginx/sharetronix.example.access.log;
}

but error log show this

2014/11/02 06:40:59 [error] 18235#0: *3 FastCGI sent in stderr: "PHP message: PH P Warning: Unknown: failed to open stream: Success in Unknown on line 0 Unable to open primary script: /var/www/sharetronix.example/ (Success)" while rea ding response header from upstream, client: 85.130.69.179, server: share.z-latko .info, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.so ck:", host: "sharetronix.example"
Subject Author Posted

nginx configuration - sharetronix

Replace November 03, 2014 01:40AM

Re: nginx configuration - sharetronix

Replace November 19, 2014 10:11AM

Re: nginx configuration - sharetronix

Francis Daly November 19, 2014 12:42PM

Re: nginx configuration - sharetronix

Replace November 21, 2014 02:55AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready