Closed
Bug 1146890
Opened 9 years ago
Closed 9 years ago
Add mozillademos.org domain to MDN stage stack
Categories
(Infrastructure & Operations Graveyard :: WebOps: Community Platform, task)
Infrastructure & Operations Graveyard
WebOps: Community Platform
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jezdez, Assigned: cliang)
References
Details
(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/812] )
We use a separate domain for hosting demos in production (mdn.mozillademos.org) and local development (mdn-local.mozillademos.org) but missing something similar in the stage environment (e.g. "mdn-stage.mozillademos.org"). Please add a new domain as well as the Apache configuration needed to do that. The prod setup contains a Apache virtual host that proxies to the main wsgi app. This could be used to replicate the same pattern on stage. The domain needs SSL as well.
Reporter | ||
Comment 1•9 years ago
|
||
Hi :cyliang, as mentioned on IRC yesterday, the ticket to create mdn-stage.mozillademos.org
Flags: needinfo?(cliang)
Comment 2•9 years ago
|
||
Can we do mdn-demos.allizom.org instead? If so, that's one SSL cert we don't have to pay for (especially for a stage site).
Assignee | ||
Updated•9 years ago
|
Assignee: server-ops-webops → cliang
Flags: needinfo?(cliang)
Assignee | ||
Comment 3•9 years ago
|
||
Poking about in the Apache configs for prod and stage, I found that there is something similar to mdn.mozillademos.org for stage: developer-samples.allizom.org. I've attached a copy of the configs. The only difference I can see is an additional ProxyPassMatch line for URLs with files in addition to the existing one for samples. @jezdez: If I add in that ProxyPassMatch line, would the developer-samples.allizom.org domain work as a staging site for mdn.mozillademos.org? In testing, it looks like https://mdn.mozillademos.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test$samples/MathML_Torture_Test works where https://developer-samples.allizom.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test$samples/MathML_Torture_Test does not, but I think that's just a matter of tweaking the ALLOWED_HOSTS to include developer-samples.allizom.org.
Flags: needinfo?(jezdez)
Reporter | ||
Comment 4•9 years ago
|
||
:cyliang Yeah, that domain would work splendidly, thanks!
Flags: needinfo?(jezdez) → needinfo?(cliang)
Assignee | ||
Comment 5•9 years ago
|
||
After making changes to both the Apache config and to the ALLOWED_HOSTS setting for the staging site, the URL I used for testing [1] seems to work. However, there do seem to be some differences in the fonts offered which changes the size of the drop-down box. If this is sufficient for what you need, please let me know. Otherwise, I'll need a list of what other assets might need to be copied. =) [1] https://developer-samples.allizom.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test$samples/MathML_Torture_Test
Flags: needinfo?(cliang)
Reporter | ||
Comment 6•9 years ago
|
||
:cyliang This needs an update of the ATTACHMENT_HOST setting on the stage servers as well. That should be: ATTACHMENT_HOST = 'developer-samples.allizom.org'
Flags: needinfo?(cliang)
Assignee | ||
Comment 7•9 years ago
|
||
Setting has been added to the stage servers, pushed out, and the web server in staging has had a graceful restart.
Flags: needinfo?(cliang)
Reporter | ||
Comment 8•9 years ago
|
||
That worked, thanks!
Status: NEW → RESOLVED
Closed: 9 years ago
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
•