compose project

This commit is contained in:
2025-10-29 21:22:20 +01:00
parent 36a794bbd8
commit ba7616e4fa
8 changed files with 143 additions and 5 deletions

22
nginx/conf.d Normal file
View File

@@ -0,0 +1,22 @@
server {
listen 80;
server_name _;
root /var/www/html/public;
index index.php index.html;
location / {
try_files $uri /index.php?$query_string;
}
location ~ \\.php$ {
include fastcgi_params;
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
}
location ~ /\\.ht {
deny all;
}
}