Last active
January 16, 2018 02:13
-
-
Save zacker330/cb9519178275ad70713661456769ee96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /device/images/ { | |
alias /usr/local/openresty/nginx/html/images/; | |
autoindex off; | |
try_files $uri =404; | |
access_log off; | |
expires 30d; | |
## No need to bleed constant updates. Send the all shebang in one | |
## fell swoop. | |
tcp_nodelay off; | |
## Set the OS file cache. | |
open_file_cache max=3000 inactive=120s; | |
open_file_cache_valid 45s; | |
open_file_cache_min_uses 2; | |
open_file_cache_errors off; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment