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
9cd374fb
Commit
9cd374fb
authored
Mar 16, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CD/CI
parent
a196e9d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
nginx.conf
data-nginx/nginx.conf
+8
-1
No files found.
data-nginx/nginx.conf
View file @
9cd374fb
...
@@ -64,7 +64,7 @@ http {
...
@@ -64,7 +64,7 @@ http {
listen
2181
;
listen
2181
;
server_name
111
.230.84.223
;
server_name
111
.230.84.223
;
location
/
{
location
/
{
proxy_pass
http://172.31.
3.53
:2181
;
proxy_pass
http://172.31.
255.107
:2181
;
}
}
location
=
/50x.html
{
location
=
/50x.html
{
root
html
;
root
html
;
...
@@ -74,6 +74,13 @@ http {
...
@@ -74,6 +74,13 @@ http {
listen
2182
;
listen
2182
;
server_name
111
.230.84.223
;
server_name
111
.230.84.223
;
location
/
{
location
/
{
add_header
'Access-Control-Allow-Origin'
'*'
;
add_header
'Access-Control-Allow-Credentials'
'true'
;
add_header
'Access-Control-Allow-Methods'
'GET,
POST,
OPTIONS'
;
add_header
'Access-Control-Allow-Headers'
'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'
;
proxy_set_header
Cookie
$http_cookie
;
proxy_cookie_domain
domino_server
nginx_server
;
proxy_pass
http://data.bailuntec.com
;
proxy_pass
http://data.bailuntec.com
;
}
}
location
=
/50x.html
{
location
=
/50x.html
{
...
...
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