I need to be able to point people to the web UI for accessing test results of the visual diffs that run on promethium.
mw-expt-tests.wmflabs.org is the desire domain name for this server.
I'll set up nginx config on the server to proxy to different internal services as necessary.
Description
Related Objects
Event Timeline
Does https://wikitech.wikimedia.org/wiki/Help:Proxy#Creating_a_web_proxy not work for you?
Nope. This is one-off raw hardware. Not a labs VM. So, it doesn't show up in the web UI there.
This requires adding a DNS entry for promethium.wmflabs.org (since we've SSL only for *.wmflabs.org) pointing to the proxy, and then manually hitting the proxy API with the target IP.
This is how graphite.wmflabs.org works, for example.
I was able to add the proxy with:
curl -X PUT -d '{"domain": "mw-expt-tests.wmflabs.org", "backends": ["http://promethium.wikitextexp.eqiad.wmflabs:80"]}' localhost:5668/dynamicproxy-api/v1/wikitextexp/mapping``` on novaproxy-01
Except somehow the domain name doesn't want to resolve for nginx, despite it resolving fine for dig. an nginx restart didn't help either. So I've just used the IP instead, and that works.
Great! Thanks. I updated the nginx settings and http://mw-expt-tests.wmflabs.org/ is now proxying to my webapp.