Commit 9c222685 authored by Luca Falavigna's avatar Luca Falavigna Committed by root

Support for armel

parent 49860a0b
/*
* debomatic-webui amd64 configuration
*/
var architecture = 'armel'
var port = 8001
// common config
var config = {}
config.host = 'localhost'
config.port = port
config.web = {}
config.web.debomatic = {}
config.web.debomatic.admin = {}
config.web.debomatic.admin.email = "dktrkranz AT debian DOT org" // please use this SPAMFREE form - it will be converted client side by javascript
config.web.debomatic.architecture = architecture
config.debomatic = {}
config.debomatic.path = '/srv/debomatic-' + architecture
config.debomatic.jsonfile = '/var/log/debomatic-' + architecture + '.json'
config.web.debomatic.dput = {}
config.web.debomatic.dput.incoming = config.debomatic.path
config.web.debomatic.dput.host = "debomatic-" + architecture + ".debian.net"
// DO NOT EDIT THIS LINE:
module.exports = config
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
var architecture = 'armhf' var architecture = 'armhf'
var port = 8001 var port = 8002
// common config // common config
......
...@@ -17,13 +17,20 @@ subdomains["debomatic-i386.debian.net"] = new httpProxy.createProxyServer({ ...@@ -17,13 +17,20 @@ subdomains["debomatic-i386.debian.net"] = new httpProxy.createProxyServer({
} }
}) })
subdomains["debomatic-armhf.debian.net"] = new httpProxy.createProxyServer({ subdomains["debomatic-armel.debian.net"] = new httpProxy.createProxyServer({
target: { target: {
host: 'localhost', host: 'localhost',
port: 8001 port: 8001
} }
}) })
subdomains["debomatic-armhf.debian.net"] = new httpProxy.createProxyServer({
target: {
host: 'localhost',
port: 8002
}
})
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