This commit is contained in:
Ubuntu
2025-07-04 18:16:17 +00:00
parent 036c4167d8
commit bb5ab233e0
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -75,11 +75,12 @@ http {
index index.php index.html index.htm;
location / {
try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php?$query_string;
}
# Pour toutes les requetes php
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass wordpress:9000;
fastcgi_index index.php;
@@ -89,5 +90,4 @@ http {
}
}
}
}