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
3211b6e2
Commit
3211b6e2
authored
Mar 18, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
elastic-jobCD/CI
parent
ca3fff89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
21 deletions
+3
-21
nginx.conf
data-nginx/nginx.conf
+3
-21
No files found.
data-nginx/nginx.conf
View file @
3211b6e2
...
@@ -61,34 +61,16 @@ http {
...
@@ -61,34 +61,16 @@ http {
server
{
server
{
listen
2181
;
listen
80
;
server_name
111
.230.84.223
;
location
/
{
proxy_pass
http://172.31.255.107:2181
;
}
location
=
/50x.html
{
root
html
;
}
}
server
{
listen
2182
;
server_name
111
.230.84.223
;
server_name
111
.230.84.223
;
location
/
{
location
/job
{
add_header
'Access-Control-Allow-Origin'
'*'
;
proxy_pass
http://172.31.255.252:8088
;
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
;
}
}
location
=
/50x.html
{
location
=
/50x.html
{
root
html
;
root
html
;
}
}
}
}
server
{
server
{
listen
80
;
listen
80
;
server_name
111
.230.84.223
;
server_name
111
.230.84.223
;
...
...
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