location ~ \.php(/|$) {
fastcgi_pass dockerized_lara_php:9000;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param HTTPS off;
fastcgi_param REMOTE_ADDR $http_x_forwarded_for;
fastcgi_param APPLICATION_ENV 'dev';
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, DELETE, OPTIONS';
fastcgi_read_timeout 600s;
internal;
}