G
G
Glory2021-12-02 20:19:36
Nginx
Glory, 2021-12-02 20:19:36

Is it possible with nginx to pass it off as not a file when specifying a file in the url part?

it is necessary that when entering
the sitename.ru/bitrix/admin/1c_exchange.php address, there should not be an attempt to execute this file, but for routing to occur, that is, for the php program to select the bitrix/admin/1c_exchange.php route and execute the code corresponding to it .

the matter is that I managed to force so to work laravel under apachee. But nothing works on gninx. It's just that instead of following the given route, nginx tries to execute the 1c_exchange.php script, which doesn't exist.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question