Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Managetests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Managetests
Commits
e447a532
Commit
e447a532
authored
Dec 08, 2015
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nginx configuration file
parent
13d911c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
nginx.conf
nginx.conf
+26
-0
No files found.
nginx.conf
0 → 100644
View file @
e447a532
server
{
set
$managetests_root
/path/to/root
;
listen
80
;
listen
[::]:80
;
server_name
wwwtest.ubuntu-it.org
;
location
/
{
proxy_pass
http://localhost:8080
;
}
location
~
^/([a-zA-Z0-9\-\._]+)/(.*)
{
set
$branch
$1
;
rewrite
^/([a-zA-Z0-9
\
-
\
._]+)/(.*)
/
$2
break
;
proxy_pass
http://unix:
$managetests_root
/socks/branches/
$branch
.sock
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_set_header
X-Scheme
$scheme
;
proxy_set_header
X-Script-Name
/
$branch
;
}
}
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