dont cache ogdo stuff on clients
This commit is contained in:
parent
ac9b23d894
commit
f27bc853aa
1 changed files with 1 additions and 0 deletions
1
ogdo.nix
1
ogdo.nix
|
@ -23,6 +23,7 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
error_page 404 /;
|
error_page 404 /;
|
||||||
access_log /var/log/nginx/ogdo.log combined;
|
access_log /var/log/nginx/ogdo.log combined;
|
||||||
|
add_header 'Cache-Control' 'no-cache';
|
||||||
'';
|
'';
|
||||||
|
|
||||||
locations."/" = { index = "/index.html"; };
|
locations."/" = { index = "/index.html"; };
|
||||||
|
|
Loading…
Reference in a new issue