mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
197 B
9 lines
197 B
4 months ago
|
if (-f $request_filename/index.html){
|
||
|
rewrite (.*) $1/index.html break;
|
||
|
}
|
||
|
if (-f $request_filename/index.php){
|
||
|
rewrite (.*) $1/index.php;
|
||
|
}
|
||
|
if (!-f $request_filename){
|
||
|
rewrite (.*) /index.php;
|
||
|
}
|