[odrs-web] Revert nginx changes



commit 7375c3c572076ab18947fc625a4fd5e58c8f2416
Author: Bartłomiej Piotrowski <b bpiotrowski pl>
Date:   Wed Aug 31 22:59:59 2022 +0200

    Revert nginx changes
    
    The service collects statistics by not caching anything (boo).

 nginx.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index 5c9e652..e38e7bc 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -63,9 +63,7 @@ http {
 
         location / {
             proxy_cache cache;
-            proxy_cache_valid 200 1m;
-            proxy_cache_methods GET HEAD POST;
-            proxy_cache_key "$request_uri|$request_body";
+            proxy_cache_valid 200 15m;
             proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
             proxy_cache_lock on;
             proxy_cache_revalidate on;


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