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
bltdc
dc-common
Commits
ee55a21a
Commit
ee55a21a
authored
Mar 15, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CD/CI
parent
1fb673e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
19 deletions
+20
-19
nginx.conf
data-nginx/nginx.conf
+20
-19
No files found.
data-nginx/nginx.conf
View file @
ee55a21a
...
...
@@ -63,6 +63,18 @@ http {
listen
80
;
server_name
111
.230.84.223
;
location
/
{
root
/usr/share/nginx/html
;
index
index.html
;
}
location
=
/50x.html
{
root
html
;
}
}
server
{
listen
80
;
server_name
111
.230.84.223
;
location
/data
{
proxy_pass
http://data.bailuntec.com
;
}
location
=
/50x.html
{
...
...
@@ -75,7 +87,11 @@ http {
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper/04
{
proxy_pass
http://172.31.255.107:2181
;
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.107:2181
;
}
location
=
/50x.html
{
root
html
;
...
...
@@ -86,7 +102,7 @@ http {
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper/03
{
proxy_pass
http://172.31.3.
10
:2181
;
proxy_pass
http://172.31.3.
53
:2181
;
}
location
=
/50x.html
{
root
html
;
...
...
@@ -98,7 +114,7 @@ http {
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper/02
{
proxy_pass
http://172.31.3.
11
:2181
;
proxy_pass
http://172.31.3.
54
:2181
;
}
location
=
/50x.html
{
root
html
;
...
...
@@ -111,28 +127,13 @@ http {
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.3.9:2181
;
proxy_pass
http://172.31.3.47:2181
;
}
location
=
/50x.html
{
root
html
;
}
}
server
{
listen
80
;
server_name
111
.230.84.223
;
location
/zookeeper
{
proxy_pass
http://172.31.255.125:2181
;
}
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