Closed
Bug 1352090
Opened 8 years ago
Closed 8 years ago
[Kitsune] Change MEDIA_URL and STATIC_URL
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: giorgos, Assigned: danielh)
References
Details
(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/4559])
Hi Ops!
Please change MEDIA_URL and STATIC_URL in settings_local.py of kitsune-prod (support.mozilla.org) to match
MEDIA_URL = '/media/'
STATIC_URL = '/static/'
Since this is not production anymore feel free to directly make the changes to kitsune-prod.
Thanks!
| Reporter | ||
Comment 1•8 years ago
|
||
Note to self, if we ever rollback to Kitsune we'll need to revert this change.
(If you can spare a minute to explain why, that would be great for the record?)
| Reporter | ||
Comment 3•8 years ago
|
||
(Sure!)
So snippets.cdn.mozilla.net CDN is rightfully configured to pull data from snippets.mozilla.org. Since we switched to Lithium snippets.mozilla.org points to them and therefore has none of Kitsune assets. This results to broken (unstyled) Kitsune for the folks who need to access this.
With this bug we instruct Kitsune to ignore the CDN and not redirect users to it for 'media' and 'static' files which will fix the user's experience. We don't change the CDN -as it's going to get decom soon anyway and if we need to rollback to Kitsune it will just work when we flip the DNS-.
| Assignee | ||
Comment 4•8 years ago
|
||
Hey Giorgos,
I've made this change, propagated it to the web heads and gracefully reloaded the web servers. Can you confirm that everything looks good from your perspective?
Thank you!
Flags: needinfo?(giorgos)
| Reporter | ||
Comment 5•8 years ago
|
||
Everything looks good, thanks!
In the case we need to rollback the previous setting was
MEDIA_URL = '//support.cdn.mozilla.net/media/'
STATIC_URL = '//support.cdn.mozilla.net/static/'
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(giorgos)
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•