diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-17 20:24:09 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-17 20:34:42 +0200 |
commit | 3c7c834a37802e5ca5d93a4b4a91dde3264d9f5d (patch) | |
tree | 07abe3c01bb29505ceab94b7bdb587c1d3bd09ba /roles/nextcloud/files/etc | |
parent | a16b003a9bf101234ca988b6e43466a3d6b99bc7 (diff) |
nginx: Add Expires: HTTP headers.
Diffstat (limited to 'roles/nextcloud/files/etc')
-rw-r--r-- | roles/nextcloud/files/etc/nginx/sites-available/nextcloud | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nextcloud/files/etc/nginx/sites-available/nextcloud b/roles/nextcloud/files/etc/nginx/sites-available/nextcloud index e971f99..52f24e0 100644 --- a/roles/nextcloud/files/etc/nginx/sites-available/nextcloud +++ b/roles/nextcloud/files/etc/nginx/sites-available/nextcloud @@ -81,8 +81,8 @@ server { } location ~ \.(?:css|js|woff2?|svg|gif|map)$ { - try_files $uri /index.php$uri$is_args$args; expires 30d; + try_files $uri /index.php$uri$is_args$args; } location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ { |