Files
getgreen-backend/custom/custom_nginx.conf

26 lines
524 B
Plaintext
Executable File

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;
}
}