move some http directives to server

This commit is contained in:
bunkerity
2020-11-14 14:19:27 +01:00
parent 0f0593456c
commit 60fbbc1013
6 changed files with 30 additions and 22 deletions

View File

@@ -0,0 +1,4 @@
open_file_cache %OPEN_FILE_CACHE%;
open_file_cache_errors %OPEN_FILE_CACHE_ERRORS%;
open_file_cache_min_uses %OPEN_FILE_CACHE_MIN_USES%;
open_file_cache_valid %OPEN_FILE_CACHE_VALID%;

View File

@@ -34,4 +34,7 @@ server {
%USE_CLIENT_CACHE%
%USE_GZIP%
%USE_BROTLI%
client_max_body_size %MAX_CLIENT_SIZE%;
server_tokens %SERVER_TOKENS%;
%USE_OPEN_FILE_CACHE%
}