Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If you need to open by default not index, but `132.php`: https://nginx.org/en/docs/http/ngx_http_index_modu...
"Pushing" to a page and defining index files are two different things. The first is done using a directive rewrite
or in the page code, the second is done using index
.
I also recommend that you familiarize yourself with try_files , it often becomes necessary to sequentially iterate through several url options.
Equal sign - so that this block works only when the root of the site is requested
location = / {
index 132.php;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question