
CMS
- 1 ответ
- 0 вопросов
0
Вклад в тег
server {
server_name moysait.ru;
# opt-in to the future
charset utf-8;
add_header "X-UA-Compatible" "IE=Edge,chrome=1";
root /var/www/moysait.ru/httpdocs;
location / {
index index.html index.htm index.php;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
try_files $uri = 404;
fastcgi_pass unix:/tmp/php.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
}
}