module(wp): use proper index
This commit is contained in:
parent
ab58cfff88
commit
98911e21fd
1 changed files with 3 additions and 2 deletions
|
@ -67,13 +67,14 @@ in {
|
||||||
# fast cgi conf
|
# fast cgi conf
|
||||||
locations."~ [^/]\\.php(/|$)" = {
|
locations."~ [^/]\\.php(/|$)" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
index index.html index.htm index.php;
|
|
||||||
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:${phpFpmListen};
|
fastcgi_pass unix:${phpFpmListen};
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
index index.html index.htm index.php;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue