web: fix syntax for expires directive

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-17 20:38:23 +01:00
parent 7b826b696c
commit 9efc4dec18
1 changed files with 7 additions and 7 deletions

View File

@ -57,12 +57,12 @@ http {
## ##
gzip on; gzip on;
# gzip_vary on; gzip_vary on;
# gzip_proxied any; gzip_proxied any;
# gzip_comp_level 6; gzip_comp_level 6;
# gzip_buffers 16 8k; gzip_buffers 16 8k;
# gzip_http_version 1.1; gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
## ##
# Virtual Host Configs # Virtual Host Configs
@ -78,7 +78,7 @@ http {
access_log /dev/stdout json_combined; access_log /dev/stdout json_combined;
} }
location /static/ { location /static/ {
expires @31d; expires 31d;
add_header Cache-Control "public, no-transform"; add_header Cache-Control "public, no-transform";
add_header X-authentik-version "2021.3.4"; add_header X-authentik-version "2021.3.4";
add_header Vary X-authentik-version; add_header Vary X-authentik-version;