Welcome! Log In Create A New Profile

Advanced

Помогите с настройками nginx.conf для Wordpress

October 12, 2013 04:48PM
Главная страница грузится, а другие страницы предлагает сохранить и в итоге сохраняется файл index.php... Я в шоке, как это исправить? Подскажите плыс...

Вот мои настройки nginx:

server {
server_name funtik.net.ua;
access_log /var/log/nginx-funtik.net.ua.access.log;
error_log /var/log/nginx-funtik.net.ua.error.log;
root /usr/home/funtik/webs/funtik.net.ua/public_html;
index index.php index.html index.htm;

if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}

error_page 404 /index.php;

location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

location ~ /\.ht {
deny all;
}
}
Subject Author Posted

Помогите с настройками nginx.conf для Wordpress

littlefuntik October 12, 2013 04:48PM

Re: Помогите с настройками nginx.conf для Wordpress

VovansystemS October 12, 2013 04:52PM

Re: Помогите с настройками nginx.conf для Wordpress

littlefuntik October 12, 2013 06:11PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 243
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