Created
February 12, 2021 00:10
-
-
Save yuliji/cf1b6e5ca61e782b8220c38813709446 to your computer and use it in GitHub Desktop.
[nginx_no_cache.conf] disable cache for nginx
This file contains 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
add_header Last-Modified $date_gmt; | |
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; | |
if_modified_since off; | |
expires off; | |
etag off; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment