[odrs-web] Make sure we also cache ratings.json



commit 4e69195441721c8739910877b15c92ead3cb2407
Author: Andrea Veri <averi redhat com>
Date:   Thu Apr 28 17:53:31 2022 +0200

    Make sure we also cache ratings.json

 nginx.conf | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index 2043a34..e38e7bc 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -56,6 +56,9 @@ http {
 
         location /1.0/reviews/api/ratings {
             alias /tmp/ratings/ratings.json;
+            expires 30d;
+            add_header Pragma public;
+            add_header Cache-Control "public";
         }
 
         location / {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]