restore composer.json, add mysqli extension
This commit is contained in:
25
custom/custom_nginx.conf
Executable file
25
custom/custom_nginx.conf
Executable file
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
server_name _;
|
||||
|
||||
root "/app/public";
|
||||
index index.php;
|
||||
|
||||
client_max_body_size 512M;
|
||||
|
||||
access_log /docker.stdout;
|
||||
error_log /docker.stderr warn;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
fastcgi_read_timeout 600;
|
||||
}
|
||||
}
|
||||
34
custom/nginx.conf
Executable file
34
custom/nginx.conf
Executable file
@@ -0,0 +1,34 @@
|
||||
# For more information on configuration, see:
|
||||
# * Official English Documentation: http://nginx.org/en/docs/
|
||||
# * Official Russian Documentation: http://nginx.org/ru/docs/
|
||||
|
||||
user www-data;
|
||||
worker_processes auto;
|
||||
error_log /docker.stdout;
|
||||
pid /run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /docker.stdout main;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
# Load modular configuration files from the /etc/nginx/conf.d directory.
|
||||
# See http://nginx.org/en/docs/ngx_core_module.html#include
|
||||
# for more information.
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
6
custom/php.ini
Executable file
6
custom/php.ini
Executable file
@@ -0,0 +1,6 @@
|
||||
date.time = UTC
|
||||
display_errors = Off
|
||||
memory_limit = 256M
|
||||
max_execution_time = 60
|
||||
post_max_size = 256M
|
||||
upload_max_filesize = 256M
|
||||
Reference in New Issue
Block a user