diff options
| -rw-r--r-- | resources/intern.gospeladlershof.conf | 6 | ||||
| -rw-r--r-- | resources/www.gospeladlershof.conf | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/resources/intern.gospeladlershof.conf b/resources/intern.gospeladlershof.conf index 13e3f03..72654ab 100644 --- a/resources/intern.gospeladlershof.conf +++ b/resources/intern.gospeladlershof.conf @@ -44,10 +44,10 @@ server { error_page 404 /404.html; - # Solange wir keine ordentlichen Bilder haben wird nichts gecacht. - #location ~* \.(jpe?g|png|gif|css|js|swf|txt|ico|woff2?|ttf|svg)$ { + location ~* \.(jpe?g|png|gif|css|js|swf|txt|ico|woff2?|ttf|svg)$ { # expires 365d; - #} + expires 10m; + } location ~* ^/favicon.ico$ {} diff --git a/resources/www.gospeladlershof.conf b/resources/www.gospeladlershof.conf index c136655..0a3ac92 100644 --- a/resources/www.gospeladlershof.conf +++ b/resources/www.gospeladlershof.conf @@ -26,6 +26,7 @@ server { error_page 404 /404.html; + # Solange wir keine ordentlichen Bilder haben wird nichts richtig gecacht. location ~* \.(jpe?g|png|gif|css|js|swf|txt|ico|woff2?|ttf|svg)$ { # expires 365d; expires 10m; |
