Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianshuqin
dc-common
Commits
5f3b22d7
Commit
5f3b22d7
authored
Mar 13, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nginx CD/CI
parent
d11dbd39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
nginx.conf
data-nginx/nginx.conf
+45
-0
No files found.
data-nginx/nginx.conf
View file @
5f3b22d7
...
...
@@ -70,6 +70,51 @@ http {
}
}
server
{
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper/03
{
proxy_redirect
off
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_pass
http://172.31.255.184
;
}
location
=
/50x.html
{
root
html
;
}
}
server
{
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper/02
{
proxy_redirect
off
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_pass
http://172.31.255.84
;
}
location
=
/50x.html
{
root
html
;
}
}
server
{
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper/01
{
proxy_redirect
off
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_pass
http://172.31.255.74
;
}
location
=
/50x.html
{
root
html
;
}
}
include
servers/*
;
...
...
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