maj docker

This commit is contained in:
2026-03-25 23:01:58 +01:00
parent 2214dbe389
commit 0eb73febd7
2 changed files with 35 additions and 9 deletions
+20
View File
@@ -0,0 +1,20 @@
server {
listen 80;
index index.php index.html;
root /var/www/public; # ICI est le secret du "Not Found"
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass app:9000; # Il parle au conteneur 'app'
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
gzip_static on;
}
}