Avoid naming conflicts in development

This commit is contained in:
byte[] 2022-02-10 19:17:53 -05:00
parent fd758b7f0d
commit 844d60279f
2 changed files with 4 additions and 4 deletions

View file

@ -25,8 +25,8 @@ services:
- AVATAR_URL_ROOT=/avatars
- ADVERT_URL_ROOT=/spns
- IMAGE_URL_ROOT=/img
- BADGE_URL_ROOT=/badges
- TAG_URL_ROOT=/tags
- BADGE_URL_ROOT=/badge-img
- TAG_URL_ROOT=/tag-img
- ELASTICSEARCH_URL=http://elasticsearch:9200
- REDIS_HOST=redis
- DATABASE_URL=ecto://postgres:postgres@postgres/philomena_dev

View file

@ -66,7 +66,7 @@ server {
add_header Content-Type $custom_content_type;
}
location ~ ^/badges/(.+) {
location ~ ^/badge-img/(.+) {
expires max;
add_header Cache-Control public;
proxy_pass http://s3/$BUCKET_NAME/badges/$1;
@ -74,7 +74,7 @@ server {
add_header Content-Type $custom_content_type;
}
location ~ ^/tags/(.+) {
location ~ ^/tag-img/(.+) {
expires max;
add_header Cache-Control public;
proxy_pass http://s3/$BUCKET_NAME/tags/$1;