# Unable to Download Artifacts - Self-Hosted Mender Community Server 4.0.0

**URL:** <https://hub.mender.io/t/unable-to-download-artifacts-self-hosted-mender-community-server-4-0-0/7663>\
**Category:** General Discussions\
**Tags:** mender-server\
**Created:** [March 21, 2025, 2:18pm UTC](https://hub.mender.io/t/unable-to-download-artifacts-self-hosted-mender-community-server-4-0-0/7663 "2025-03-21T14:18:19Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![simonbuehler](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/simonbuehler/32/1828_2.png) [@simonbuehler](https://hub.mender.io/u/simonbuehler)\
**Post date:** [July 15, 2025, 1:37pm UTC](https://hub.mender.io/t/unable-to-download-artifacts-self-hosted-mender-community-server-4-0-0/7663/21 "2025-07-15T13:37:14Z")

</div>

yay it works!

Thanks for your help, after changing the customrule again and restarting the mender-api-gateway i now do get a `200`response! The “nginx 404” was actually Google Cloud Storage’s internal nginx responding to unauthenticated requests, not a separate nginx server. For future reference, the working yaml:

```yaml
# Mender Helm Chart Values Template
# This file is used by the combined Terraform configuration

global:
  url: https://${actual_domain}
  storage: aws
  s3:
    AWS_URI: "https://storage.googleapis.com"
    AWS_BUCKET: ${storage_bucket}
    AWS_REGION: ${region} # ignored with GCS
    AWS_FORCE_PATH_STYLE: "true"
    AWS_ACCESS_KEY_ID: ${hmac_access_key}
    AWS_SECRET_ACCESS_KEY: ${hmac_secret_key}

ingress:
  enabled: true
  ingressClassName: "traefik"
  path: /
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-${ssl_environment}"
    traefik.ingress.kubernetes.io/redirect-to-https: "true"
  hosts: 
    - ${actual_domain}
  tls:
    - secretName: mender-tls
      hosts:
        - ${actual_domain}

api_gateway:
  storage_proxy:
    enabled: true
    url: "https://storage.googleapis.com"
    customRule: 'PathRegexp(`^/${storage_bucket}`)'

```

[Previous page](https://hub.mender.io/t/unable-to-download-artifacts-self-hosted-mender-community-server-4-0-0/7663.md?page=1)
