Answer the question
In order to leave comments, you need to log in
How to organize multiple locations for php?
I want to set up the site config so that different sections with php are processed differently (different settings)
location ~* /forum/index.php$ {
...
}
location ~* /forum/(admin|css|sitemap).php$ {
...
}
location /sources/skin.php {
...
}
location / {
location ~ [^/]\.ph(p\d*|tml)$ {
try_files /does_not_exists @php;
}
}
location @php {
...
}
location @php
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