Hi,
I'm currently having a problem with Wordpress on a CentOS 5.8, ISPConfig3, Nginx with php-fpm setup and getting perm links to work (I've pretty much followed the guide to setting this up on CentOS that is here on the site).
What happends when I load the website is that I get "No input configured".
I've done the following steps to make it work:
1. create a vhost: /etc/nginx/sites-available/www.mysite.com.vhost
with the following:
Code:
server {
listen 80;
server_name www.mysite.com mysite.com;
root /var/www/clients/client1/web1/web;
if ($http_host != "www.mysite.com") {
rewrite ^ http://www.mysite.com$request_uri permanent;
}
index index.php index.html;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
# Add trailing slash to */wp-admin requests.
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
2. Created a symlink:
Code:
cd /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-available/www.mysite.com.vhost www.mysite.com.vhost
And then reloading nginx (also tried rebooting the whole system).
When trying to access any site I just get:
No input configured
I appreciate any help, thanks!
Recent comments
1 day 13 hours ago
1 day 15 hours ago
2 days 3 hours ago
2 days 6 hours ago
2 days 10 hours ago
2 days 16 hours ago
3 days 1 hour ago
3 days 3 hours ago
3 days 11 hours ago
3 days 13 hours ago