12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- user www-data;
- worker_processes auto;
- error_log stderr error;
- worker_rlimit_nofile 200000;
- events {
- worker_connections 16384;
- }
- http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- access_log off;
- server_tokens off;
- sendfile on;
- keepalive_timeout 65;
- keepalive_disable none;
- keepalive_requests 10000;
- upstream fastcgi_backend {
- server unix:/var/run/php/php7.3-fpm.sock;
- keepalive 40;
- }
- server {
- listen 8080;
- server_name localhost;
- root /zend/public/;
- index index.php;
- location / {
- fastcgi_pass fastcgi_backend;
- fastcgi_keep_conn on;
- fastcgi_param SCRIPT_FILENAME $document_root/index.php;
- fastcgi_param PATH_INFO $uri;
- include /etc/nginx/fastcgi_params;
- }
- }
- }
|