# Defining DISCOURSE\_S3\_CDN\_URL links to assets in S3 CDN URL

**URL:** https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798
**Category:** Support
**Created:** [5월 3, 2019, 9:44오후 UTC](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798 "2019-05-03T21:44:07Z")
**Posts on this page:** 1
**Showing post:** 21

<div class="post-metadata">

### Author: ![eatcodetravel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eatcodetravel/32/94385_2.png) [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)
#### Post date: [3월 4, 2020, 5:53오후 UTC](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798/21 "2020-03-04T17:53:21Z")

</div>

여기에서 어떤 변수를 설정하는지 확인할 수 있습니다: [https://github.com/debtcollective/infra/blob/master/modules/services/discourse/web.yml](https://github.com/debtcollective/infra/blob/master/modules/services/discourse/web.yml)

다음은 S3/CDN 관련으로 설정하는 변수들입니다.

- `DISCOURSE_CDN_URL`
- `DISCOURSE_S3_ACCESS_KEY_ID`
- `DISCOURSE_S3_BACKUP_BUCKET`
- `DISCOURSE_S3_CDN_URL`
- `DISCOURSE_S3_REGION`
- `DISCOURSE_S3_SECRET_ACCESS_KEY`
- `DISCOURSE_S3_UPLOAD_BUCKET`
- `USE_DB_S3_CONFIG: true`

`DISCOURSE_S3_BUCKET`은 `DISCOURSE_S3_UPLOAD_BUCKET`과 `DISCOURSE_S3_BACKUP_BUCKET`으로 대체되어 더 이상 사용되지 않는 것으로 보입니다. 대신 이 변수들을 설정해야 합니다.

---

_[View the full topic](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798)._
