Welcome! Log In Create A New Profile

Advanced

Подскажите локейшен по обработке запросов

Vladislav Prodan
October 14, 2015 04:46PM
Здравствуйте.

Имеется коммерческая php система.
Внутри все зашифровано .

В логах присутствуют запросы вида /app/cron/queue.php?jobId=0&dataId=2314&cronKey=5c207b74a133bbeaad2456a6124204b9

Нужно создать локейшен с другими настройками php (php5-fpm)

Создал такой, но что-то не попадает...

        location ~ [^/]app/cron/(.*\.ph(p\d*|tml)) {
                           try_files /does_not_exists @php2;
                }

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

Подскажите плз, как сделать...



--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Подскажите локейшен по обработке запросов

Vladislav Prodan October 14, 2015 04:46PM

Re: Подскажите локейшен по обработке запросов

Алексей Сундуков October 14, 2015 05:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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