diff options
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index fff37e0..1804b58 100644 --- a/configuration.nix +++ b/configuration.nix @@ -151,6 +151,10 @@ in { virtualHosts."orsus.id" = { enableACME = true; addSSL = true; + locations."~* .(?:css|js|woff2)$".extraConfig = '' + expires 1y; + add_header Cache-Control "public"; + ''; locations."~" = { proxyPass = "http://192.168.100.11:8080"; |