Modificación directa a php comandos para incremento de memoria de subida de archivos

This commit is contained in:
2026-05-11 02:33:52 -06:00
parent b76bff834b
commit 3fe47d5b1d
3 changed files with 22 additions and 13 deletions
+14 -10
View File
@@ -1,28 +1,32 @@
worker_processes auto;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
client_max_body_size 55M;
proxy_read_timeout 120s;
proxy_send_timeout 120s;
server {
listen 8080;
root /app/public;
index index.php;
location / {
proxy_pass http://127.0.0.1:8081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
}