Archived
1
0
Fork 0

Adjust nginx config

This commit is contained in:
Daniel Kempkens 2023-02-11 00:22:46 +01:00
parent 3748bfd0ca
commit 54e01dcb7a
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -40,12 +40,16 @@ http {
}
location ~* \.(js|css)$ {
expires modified 1h;
expires 1h;
}
location ~ ^/dwd/(icons|warn_icons)/ {
root /home/weewx/public_html;
expires 1h;
expires 7d;
}
location ~ ^/dwd/[\w]+\.(gif|png) {
expires modified 1h;
}
}
}