From 900a2d2a86bd8ec3194189220d456becf2041c55 Mon Sep 17 00:00:00 2001 From: William Gao Date: Tue, 14 Mar 2023 13:34:46 -0700 Subject: [PATCH] use tabs for nginx config --- README.md | 2 +- docker/nginx.conf | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 73c82d2..0e4f352 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docker/nginx.conf b/docker/nginx.conf index 33aeb79..29ca1a0 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -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; } }