module(wp): use proper index

This commit is contained in:
Raito Bezarius 2021-11-24 14:08:21 +01:00
parent ab58cfff88
commit 98911e21fd

View file

@ -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;
'';
};
};