added Malcolm
This commit is contained in:
		| @@ -0,0 +1,30 @@ | ||||
| server { | ||||
|     listen 80 default_server; | ||||
|  | ||||
|     sendfile on; | ||||
|     client_max_body_size 20G; | ||||
|     client_body_buffer_size 4M; | ||||
|  | ||||
|     root /var/www/upload; | ||||
|     index index.php index.html index.htm; | ||||
|  | ||||
|     location ^~ /server/php/files { | ||||
|         deny all; | ||||
|         return 404; | ||||
|     } | ||||
|  | ||||
|     location ~ \.php$ { | ||||
|         include snippets/fastcgi-php.conf; | ||||
|         fastcgi_buffers 16 64k; | ||||
|         fastcgi_buffer_size 256k; | ||||
|         fastcgi_read_timeout 300s; | ||||
|         fastcgi_send_timeout 300s; | ||||
|         fastcgi_busy_buffers_size 384k; | ||||
|         fastcgi_request_buffering off; | ||||
|         fastcgi_pass unix:/run/php/php7.3-fpm.sock; | ||||
|     } | ||||
|  | ||||
|     location ~ /\.ht { | ||||
|         deny all; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user