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
a5842a84
Commit
a5842a84
authored
Aug 29, 2014
by
Luca Falavigna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configuration for s390x
parent
e43a02e8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
README.md
README.md
+1
-0
config/s390x.config
config/s390x.config
+9
-0
proxy/proxy.js
proxy/proxy.js
+7
-0
No files found.
README.md
View file @
a5842a84
...
@@ -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
...
...
config/s390x.config
0 → 100644
View file @
a5842a84
###
debomatic
-
webui
s390x
configuration
###
architecture
=
"s390x"
port
=
8001
# DO NOT EDIT THIS LINE:
config
=
require
(
process
.
env
.
DWCONFIG
+
'/mergerconfig.coffee'
)(
architecture
,
port
)
proxy/proxy.js
View file @
a5842a84
...
@@ -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
))
...
...
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