symfony-json-logs-zap/.docker/web/nginx.conf

23 lines
473 B
Nginx Configuration File
Raw Permalink Normal View History

2024-09-13 11:43:03 +03:00
server {
root /var/www/html;
location / {
try_files $uri @backend;
}
location ~* /\.(ht|svn|git) {
deny all;
}
location @backend {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_param SCRIPT_FILENAME /app/public/index.php;
fastcgi_pass app:9000;
fastcgi_connect_timeout 5s;
fastcgi_read_timeout 60s;
}
}