]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
examples: fixed errors with the if-match header in the examples of rgw-cache nginx... 53370/head
authorKonstantin Monakhov <stangerkm@gmail.com>
Sun, 10 Sep 2023 16:08:50 +0000 (22:08 +0600)
committerKonstantin Monakhov <stangerkm@gmail.com>
Sun, 10 Sep 2023 16:08:50 +0000 (22:08 +0600)
Signed-off-by: Konstantin Monakhov <stangerkm@gmail.com>
examples/rgw/rgw-cache/nginx-default.conf
examples/rgw/rgw-cache/nginx-noprefetch.conf
examples/rgw/rgw-cache/nginx-slicing.conf

index c22d155312d49d78752369c5318c2fcde0b4d103..f8e4f257be2a9ca129477791c94cc34e5c27dd48 100644 (file)
@@ -122,7 +122,7 @@ server {
             set $do_not_cache "no";
             set $date $http_x_amz_date;
         }
-        proxy_set_header if_match $http_if_match;
+        proxy_set_header if-match $http_if_match;
         proxy_set_header Range $myrange;
         # Use the original x-amz-date if the aws auth module didn't create one 
         proxy_set_header x-amz-date $date;
index 02294415a04c2230a60fe12595bc668cd194aa67..02645b7586be75921db26ed9442f330c905b162d 100644 (file)
@@ -90,6 +90,7 @@ server {
         if ($request_uri ~* (\?)) {
             set $do_not_cache "no";
         }
+        proxy_set_header if-match $http_if_match;
         # Use the original x-amz-date if the aws auth module didn't create one 
         proxy_no_cache $do_not_cache;
         proxy_set_header Authorization $http_authorization;
index 3de4c67fcf0fc9bd637fd1fea96405ea725760de..4aae830ae73fed039fdaacde77fa17876b290e07 100644 (file)
@@ -124,7 +124,7 @@ server {
             set $do_not_cache "no";
             set $date $http_x_amz_date;
         }
-        proxy_set_header if_match $http_if_match;
+        proxy_set_header if-match $http_if_match;
         # Use the original x-amz-date if the aws auth module didn't create one 
         proxy_set_header x-amz-date $date;
         proxy_set_header X-Amz-Cache $authvar;