Tweaks and lint
This commit is contained in:
parent
70aff1c744
commit
3071e67d04
|
@ -0,0 +1,3 @@
|
||||||
|
/logs/
|
||||||
|
/sites-enabled/*
|
||||||
|
!/sites-enabled/.gitkeep
|
|
@ -1,3 +1,7 @@
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# | Cache file-descriptors |
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
# This tells Nginx to cache open file handles, "not found" errors, metadata about files and their permissions, etc.
|
# This tells Nginx to cache open file handles, "not found" errors, metadata about files and their permissions, etc.
|
||||||
#
|
#
|
||||||
# The upside of this is that Nginx can immediately begin sending data when a popular file is requested,
|
# The upside of this is that Nginx can immediately begin sending data when a popular file is requested,
|
||||||
|
@ -13,10 +17,10 @@
|
||||||
# A maximum of the 1000 most recently used file descriptors can be cached at any time.
|
# A maximum of the 1000 most recently used file descriptors can be cached at any time.
|
||||||
#
|
#
|
||||||
# Production servers with stable file collections will definitely want to enable the cache.
|
# Production servers with stable file collections will definitely want to enable the cache.
|
||||||
|
#
|
||||||
# https://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache
|
# https://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache
|
||||||
|
|
||||||
open_file_cache max=1000 inactive=20s;
|
open_file_cache max=1000 inactive=20s;
|
||||||
open_file_cache_valid 30s;
|
open_file_cache_valid 30s;
|
||||||
open_file_cache_min_uses 2;
|
open_file_cache_min_uses 2;
|
||||||
open_file_cache_errors on;
|
open_file_cache_errors on;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Configuration File - Nginx Server Configs
|
# Configuration File - Nginx Server Configs
|
||||||
# https://nginx.org/en/docs/dirindex.html
|
# https://nginx.org/en/docs/
|
||||||
|
|
||||||
# Run as a unique, less privileged user for security reasons.
|
# Run as a unique, less privileged user for security reasons.
|
||||||
# Default: nobody nobody
|
# Default: nobody nobody
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
*
|
|
Loading…
Reference in New Issue