mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Avoid naming conflicts in development
This commit is contained in:
parent
fd758b7f0d
commit
844d60279f
2 changed files with 4 additions and 4 deletions
|
@ -25,8 +25,8 @@ services:
|
||||||
- AVATAR_URL_ROOT=/avatars
|
- AVATAR_URL_ROOT=/avatars
|
||||||
- ADVERT_URL_ROOT=/spns
|
- ADVERT_URL_ROOT=/spns
|
||||||
- IMAGE_URL_ROOT=/img
|
- IMAGE_URL_ROOT=/img
|
||||||
- BADGE_URL_ROOT=/badges
|
- BADGE_URL_ROOT=/badge-img
|
||||||
- TAG_URL_ROOT=/tags
|
- TAG_URL_ROOT=/tag-img
|
||||||
- ELASTICSEARCH_URL=http://elasticsearch:9200
|
- ELASTICSEARCH_URL=http://elasticsearch:9200
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- DATABASE_URL=ecto://postgres:postgres@postgres/philomena_dev
|
- DATABASE_URL=ecto://postgres:postgres@postgres/philomena_dev
|
||||||
|
|
|
@ -66,7 +66,7 @@ server {
|
||||||
add_header Content-Type $custom_content_type;
|
add_header Content-Type $custom_content_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/badges/(.+) {
|
location ~ ^/badge-img/(.+) {
|
||||||
expires max;
|
expires max;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
proxy_pass http://s3/$BUCKET_NAME/badges/$1;
|
proxy_pass http://s3/$BUCKET_NAME/badges/$1;
|
||||||
|
@ -74,7 +74,7 @@ server {
|
||||||
add_header Content-Type $custom_content_type;
|
add_header Content-Type $custom_content_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/tags/(.+) {
|
location ~ ^/tag-img/(.+) {
|
||||||
expires max;
|
expires max;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
proxy_pass http://s3/$BUCKET_NAME/tags/$1;
|
proxy_pass http://s3/$BUCKET_NAME/tags/$1;
|
||||||
|
|
Loading…
Reference in a new issue