Skip to content

Commit

Permalink
Add open file cache
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 authored Nov 15, 2024
1 parent 3dec6c7 commit b0a5adc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/02-admin/02-configuration/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ server {
error_log /var/log/nginx/mbin_error.log;
access_log /var/log/nginx/mbin_access.log;
open_file_cache max=1000 inactive=20s;
open_file_cache_valid 60s;
open_file_cache_min_uses 2;
open_file_cache_errors on;
location / {
# try to serve file directly, fallback to app.php
try_files $uri /index.php$is_args$args;
Expand Down

0 comments on commit b0a5adc

Please sign in to comment.