mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +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
|
||||
- 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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue