Skip to content

Commit

Permalink
use tabs for nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
w-gao committed Mar 14, 2023
1 parent 5a05f58 commit 900a2d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -194,4 +194,4 @@ $ python3 cli.py --help

## License

Copyright (C) 2023 William Gao, under the MIT license.
Copyright (c) 2023 William Gao. MIT license.
12 changes: 6 additions & 6 deletions docker/nginx.conf
Expand Up @@ -10,11 +10,11 @@ server {
location / {
try_files $uri $uri/ =404;

# kill cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
# kill cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
}
}

0 comments on commit 900a2d2

Please sign in to comment.