1
0

」 feat: Finished wordpress/php container

This commit is contained in:
2025-01-15 22:06:40 +01:00
parent 9f8cf6b3ea
commit 89e5921175
13 changed files with 348 additions and 29 deletions

View File

@ -0,0 +1,19 @@
server {
listen 80;
server_name adjoly.42.fr;
root /var/www/html;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass php-fpm:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}