From adbfaf3c789d82bc93028c68cdc0bd1990e3d5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 26 Apr 2022 09:48:16 +0100 Subject: [PATCH] fix proxy-pass --- config/services/reverse-proxy.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/services/reverse-proxy.nix b/config/services/reverse-proxy.nix index 96f86b04..31300ec9 100644 --- a/config/services/reverse-proxy.nix +++ b/config/services/reverse-proxy.nix @@ -33,7 +33,6 @@ deny all; } proxy_set_header Host 's3.us-west-000.backblazeb2.com'; - set $s3_backend 'https://YOUR_BUCKET_NAME.YOUR_S3_HOSTNAME'; proxy_set_header Connection \'\'; proxy_set_header Authorization \'\'; proxy_hide_header Set-Cookie; @@ -47,7 +46,7 @@ proxy_hide_header x-amz-bucket-region; proxy_hide_header x-amzn-requestid; proxy_ignore_headers Set-Cookie; - proxy_pass $s3_backend$uri; + proxy_pass http://s3.us-west-000.backblazeb2.com/; proxy_intercept_errors off; proxy_cache CACHE; proxy_cache_valid 200 48h;