Answer the question
In order to leave comments, you need to log in
How to rewrite this rule from nginx to Apache .htaccess?
There is a site in PHP with MVC and a routing system.
To make everything work on nginx, the following lines were added to the site configuration:
location / {
try_files $uri $uri/ /index.php?$args;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question