Answer the question
In order to leave comments, you need to log in
How to set up nginx redirect correctly?
There is such processing in nginx-e
location / {
try_files $uri $uri/ /index.php?$args;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
Answer the question
In order to leave comments, you need to log in
Something like this:
location ~* ^/([a-z]{2}) {
try_files $uri $uri/ /index.php?$args;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question