Commit a5842a84 authored by Luca Falavigna's avatar Luca Falavigna

Configuration for s390x

parent e43a02e8
...@@ -11,6 +11,7 @@ Some **debomatic-webui** instances are already running over: ...@@ -11,6 +11,7 @@ Some **debomatic-webui** instances are already running over:
* http://debomatic-armel.debian.net * http://debomatic-armel.debian.net
* http://debomatic-armhf.debian.net * http://debomatic-armhf.debian.net
* http://debomatic-powerpc.debian.net * http://debomatic-powerpc.debian.net
* http://debomatic-s390x.debian.net
## Requirements ## Requirements
......
###
debomatic-webui s390x configuration
###
architecture = "s390x"
port = 8001
# DO NOT EDIT THIS LINE:
config = require(process.env.DWCONFIG + '/mergerconfig.coffee')(architecture, port)
...@@ -39,6 +39,13 @@ subdomains["debomatic-powerpc.debian.net"] = new httpProxy.createProxyServer({ ...@@ -39,6 +39,13 @@ subdomains["debomatic-powerpc.debian.net"] = new httpProxy.createProxyServer({
} }
}) })
subdomains["debomatic-s390x.debian.net"] = new httpProxy.createProxyServer({
target: {
host: 'localhost',
port: 8004
}
})
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