When I added a cdn to the instance I operate, after rebaking all of the posts instead of pointing to the cdn, it pointed to domain.com/cdn.domain.com/original/2X/image.png
After trying to fix it the urls by remapping they pointed to domain.com/uploads/uploads/default
So what I am trying to do is at the very least point it back to /uploads/default or possibly to the cdn again if it won’t be pain and suffering all the way.
「いいね!」 1
RGJ
(Richard - Communiteq)
2020 年 3 月 15 日午後 10:22
2
This sounds related / familiar to this issue Multisite + short-url + secure_uploads + s3
script/discourse remap //domain.com/uploads/uploads/ //domain.com/uploads/
should do the trick.
「いいね!」 2
Would this work with pointing to the cdn as well or should I look for another method
「いいね!」 1
So after some pain and suffering I found my solution.
Upload missing files to s3 bucket with s3cmd
Remap those to the cdn
Remap more stuff to the cdn (which somehow were mapped to https://uploads )
And then redo this process for every different type of incorrect mapping
「いいね!」 2
system
(system)
クローズされました:
2020 年 4 月 15 日午後 2:28
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.