Welcome! Log In Create A New Profile

Advanced

настройка конфига

August 19, 2014 11:29PM
добрый день, пользуюсь ispmanager 5, и не могу сообразить куда в его конфиг нужно добавить строки

#user 'andrei' virtual host 'domentk.tk' configuration file
server {
server_name domentk.tk www.domentk.tk;
charset off;
disable_symlinks if_not_owner from=$root_path;
index index.php;
root $root_path;
set $root_path /var/www/andrei/data/www/domentk.tk;
ssi on;
access_log /var/www/httpd-logs/domentk.tk.access.log ;
error_log /var/www/httpd-logs/domentk.tk.error.log notice;
listen 80;
include /etc/nginx/vhosts-includes/*.conf;
location / {
location ~ [^/]\.ph(p\d*|tml)$ {
try_files /does_not_exists @php;
}
}

location @php {
fastcgi_index index.php;
fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@domentk.tk";
fastcgi_pass unix:/var/www/php-fpm/andrei.sock;
fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
try_files $uri =404;
include fastcgi_params;
}
}


чтобы начал функционировать cms pagekit
location / {
try_files $uri $uri/ /index.php?$args;
}

прии вставке в существующий локейшн - файл с исходным кодом просто падает на скачивание
Subject Author Posted

настройка конфига

muzhik August 19, 2014 11:29PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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