Incluye Dockerfile, docker-compose.yml (puerto 8088), nginx.conf y script _app con --status, --start y --stop para levantar la app localmente. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
458 B
Nginx Configuration File
24 lines
458 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /var/www/html;
|
|
index index.html index.php;
|
|
|
|
resolver 127.0.0.11 valid=10s;
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
set $upstream app:9000;
|
|
fastcgi_pass $upstream;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
|
|
location ~ /db/ {
|
|
deny all;
|
|
}
|
|
}
|