mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-04 01:39:20 +08:00
9 lines
197 B
Plaintext
9 lines
197 B
Plaintext
|
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;
|
||
|
}
|