Commit b5212a6d authored by Luca Falavigna's avatar Luca Falavigna

Add a staging instance

parent 6e198d93
###
debomatic-webui staging configuration
###
architecture = "staging"
port = 8099
# DO NOT EDIT THIS LINE:
config = require(process.env.DWCONFIG + '/mergerconfig.coffee')(architecture, port)
...@@ -53,6 +53,13 @@ subdomains["debomatic-s390x.debian.net"] = new httpProxy.createProxyServer({ ...@@ -53,6 +53,13 @@ subdomains["debomatic-s390x.debian.net"] = new httpProxy.createProxyServer({
} }
}) })
subdomains["debomatic-staging.debian.net"] = new httpProxy.createProxyServer({
target: {
host: 'localhost',
port: 8099
}
})
var mainServer = http.createServer(function(req, res) { var mainServer = http.createServer(function(req, res) {
var host = req.headers.host var host = req.headers.host
if (subdomains.hasOwnProperty(host)) if (subdomains.hasOwnProperty(host))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment