Как установить bitrix?

Добрый день.
Подскажите как настроить конфиг nginx что бы установить битрикс
Конфиг
server {
        charset utf-8;
        client_max_body_size 128M;

        listen 80;

        server_name testproject.testname.ru;    root        /var/www/mysite;    index       hello.txt;

        access_log  /var/log/nginx/testname.ru.access.log;
        error_log   /var/log/nginx/mtestname.ru.error.log;
        allow 192.168.1.5;
        allow 8.8.8.8;
        allow 1.1.1.1;
        allow 127.0.0.1;
        deny all;
        location /hello.txt {
                try_files $uri $uri/ /hello.txt$is_args$args;
        }

        location /redirect {
                rewrite ^ $scheme://www.blog.htc-cs.ru;
        }

        location /poem {
                add_header POEM 'Мой дядя самыл лучших правил';
                try_files $uri $uri/ /poem.txt$is_args$args;
    }

location / {
        index index.html index.htm index.php;
    }

    location ~ .php$ {
        include /etc/nginx/fastcgi_params;
        fastcgi_pass  unix:/var/run/php-fpm/php-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME /var/www/mysite$fastcgi_script_name;
    }
}


При обращении к адресу testproject.testname.ru/bitrixsetup.php загружается файл bitrixsetup.php
Как установить bitrix?
  • Вопрос задан
  • 128 просмотров
Пригласить эксперта
Ответы на вопрос 1
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы