fix(front): added "dynamic_preferences" path block to nginx
fixes banner image not loading (#2149) MR: !2442
This commit is contained in:
parent
b376d66e58
commit
ab521085e9
4 changed files with 19 additions and 0 deletions
|
|
@ -97,6 +97,12 @@ server {
|
|||
add_header Access-Control-Allow-Origin '*';
|
||||
}
|
||||
|
||||
# Allow direct access to only specific subdirectories in /media
|
||||
location /media/dynamic_preferences/ {
|
||||
alias ${MEDIA_ROOT}/dynamic_preferences/;
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
}
|
||||
|
||||
# This is an internal location that is used to serve
|
||||
# media (uploaded) files once correct permission / authentication
|
||||
# has been checked on API side.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue