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