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)

task
Not set
normal

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!
Note to self, if we ever rollback to Kitsune we'll need to revert this change.
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/4559]
(If you can spare a minute to explain why, that would be great for the record?)
(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: server-ops-webops → dhartnell
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)
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
Blocks: 1357570
Blocks: 1357606
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.