Skip to content

Commit 003085b

Browse files
committed
Prefix our URLs to allow for any other future use-cases
1 parent 293a808 commit 003085b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

components/cdn/nginx-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ data:
102102
proxy_no_cache 0;
103103
proxy_ignore_headers Cache-Control Expires Set-Cookie;
104104
105-
location / {
105+
location /firmware-images/ {
106106
# Forward to Object Storage.
107107
# S3-compatible API expects requests in the form: /bucket/key
108-
proxy_pass http://s3_origin/firmware-images$request_uri;
108+
# Our bucket is called firmware-images
109+
proxy_pass http://s3_origin$request_uri;
109110
110111
proxy_http_version 1.1;
111112
proxy_set_header Connection ""; # keepalive to upstream

0 commit comments

Comments
 (0)