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
49860a0b
Commit
49860a0b
authored
Apr 15, 2014
by
Luca Falavigna
Committed by
root
Apr 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configuration for armhf
parent
2162d30d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
1 deletion
+38
-1
config/armhf.config.js
config/armhf.config.js
+30
-0
proxy/proxy.js
proxy/proxy.js
+8
-1
No files found.
config/armhf.config.js
0 → 100644
View file @
49860a0b
/*
* debomatic-webui amd64 configuration
*/
var
architecture
=
'
armhf
'
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
proxy/proxy.js
View file @
49860a0b
...
...
@@ -17,6 +17,13 @@ subdomains["debomatic-i386.debian.net"] = new httpProxy.createProxyServer({
}
})
subdomains
[
"
debomatic-armhf.debian.net
"
]
=
new
httpProxy
.
createProxyServer
({
target
:
{
host
:
'
localhost
'
,
port
:
8001
}
})
var
mainServer
=
http
.
createServer
(
function
(
req
,
res
)
{
var
host
=
req
.
headers
.
host
if
(
subdomains
.
hasOwnProperty
(
host
))
...
...
@@ -30,4 +37,4 @@ mainServer.on('upgrade', function (req, socket, head) {
subdomains
[
host
].
ws
(
req
,
socket
,
head
);
});
mainServer
.
listen
(
80
)
\ No newline at end of file
mainServer
.
listen
(
80
)
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