Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
9c222685
Commit
9c222685
authored
Apr 15, 2014
by
Luca Falavigna
Committed by
root
Apr 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support for armel
parent
49860a0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
2 deletions
+39
-2
config/armel.config.js
config/armel.config.js
+30
-0
config/armhf.config.js
config/armhf.config.js
+1
-1
proxy/proxy.js
proxy/proxy.js
+8
-1
No files found.
config/armel.config.js
0 → 100644
View file @
9c222685
/*
* 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
config/armhf.config.js
View file @
9c222685
...
...
@@ -4,7 +4,7 @@
*/
var
architecture
=
'
armhf
'
var
port
=
800
1
var
port
=
800
2
// common config
...
...
proxy/proxy.js
View file @
9c222685
...
...
@@ -17,13 +17,20 @@ subdomains["debomatic-i386.debian.net"] = new httpProxy.createProxyServer({
}
})
subdomains
[
"
debomatic-arm
hf
.debian.net
"
]
=
new
httpProxy
.
createProxyServer
({
subdomains
[
"
debomatic-arm
el
.debian.net
"
]
=
new
httpProxy
.
createProxyServer
({
target
:
{
host
:
'
localhost
'
,
port
:
8001
}
})
subdomains
[
"
debomatic-armhf.debian.net
"
]
=
new
httpProxy
.
createProxyServer
({
target
:
{
host
:
'
localhost
'
,
port
:
8002
}
})
var
mainServer
=
http
.
createServer
(
function
(
req
,
res
)
{
var
host
=
req
.
headers
.
host
if
(
subdomains
.
hasOwnProperty
(
host
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment