Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Fix custom emoji dir and nginx media proxy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
orlea committed Jan 4, 2020
1 parent 95a8019 commit 81172d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nginx/pleroma.nginx
Expand Up @@ -79,7 +79,7 @@ server {
client_max_body_size 16m;
}

location ~ ^/(media|proxy) {
location /proxy {
proxy_cache pleroma_media_cache;
slice 1m;
proxy_cache_key $host$uri$is_args$args$slice_range;
Expand Down
2 changes: 1 addition & 1 deletion pleroma/config/prod.secret.exs
@@ -1,4 +1,4 @@
use Mix.Config
import Config

config :pleroma, Pleroma.Web.Endpoint,
http: [ ip: {0, 0, 0, 0},],
Expand Down
4 changes: 2 additions & 2 deletions pleroma/pl-asterism-xyz.manage.yml
Expand Up @@ -6,7 +6,7 @@ services:
ports:
- "127.0.0.1:4050:4000"
volumes:
- /mnt/efs/config/prod.secret.exs:/etc/pleroma/config/config.exs
- /mnt/efs/config/keys.secret.exs:/etc/pleroma/config/keys.secret.exs
- /mnt/efs/config/prod.secret.exs:/etc/pleroma/config.exs
- /mnt/efs/config/keys.secret.exs:/etc/pleroma/keys.secret.exs
- /mnt/efs/emoji:/var/lib/pleroma/static/emoji/custom
- /mnt/efs/instance/static/instance:/var/lib/pleroma/static/instance
4 changes: 2 additions & 2 deletions pleroma/pl-asterism-xyz.yml
Expand Up @@ -11,8 +11,8 @@ services:
ports:
- "127.0.0.1:4040:4000"
volumes:
- /mnt/efs/config/prod.secret.exs:/etc/pleroma/config/config.exs
- /mnt/efs/config/keys.secret.exs:/etc/pleroma/config/keys.secret.exs
- /mnt/efs/config/prod.secret.exs:/etc/pleroma/config.exs
- /mnt/efs/config/keys.secret.exs:/etc/pleroma/keys.secret.exs
- /mnt/efs/emoji:/var/lib/pleroma/static/emoji/custom
- /mnt/efs/instance/static/instance:/var/lib/pleroma/static/instance
healthcheck:
Expand Down

0 comments on commit 81172d8

Please sign in to comment.