Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
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
sunyihao
bkunyun
Commits
bc33d33f
Commit
bc33d33f
authored
Jun 08, 2022
by
吴永生#A02208
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: nginx文件修改
parent
ed3b62de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
nginx_test_10005.conf
nginx/nginx_test_10005.conf
+12
-13
No files found.
nginx/nginx_test_10005.conf
View file @
bc33d33f
...
...
@@ -17,8 +17,8 @@ http {
index
index
.
html
index
.
htm
;
resolver
127
.
0
.
0
.
11
valid
=
10
s
;
location
/ {
try_files
$
uri
/
v3
/
index
.
html
;
index
/
v3
/
index
.
html
;
try_files
$
uri
/
wap
/
index
.
html
;
index
/
wap
/
index
.
html
;
#add_header Access-Control-Allow-Origin *;
add_header
Access
-
Control
-
Allow
-
Origin
*;
add_header
Access
-
Control
-
Allow
-
Methods
'GET, POST, OPTIONS'
;
...
...
@@ -66,6 +66,15 @@ http {
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
}
location
^~ /
cpp
/ {
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_connect_timeout
300
s
;
proxy_send_timeout
300
s
;
proxy_read_timeout
300
s
;
set
$
cpp
"http://cp-project-app:8801"
;
proxy_pass
$
cpp
;
}
location
^~ /
ip
/ {
set
$
c3ip
"http://c3-ip-app:6800"
;
proxy_pass
$
c3ip
;
...
...
@@ -115,7 +124,7 @@ http {
set
$
c3ce
"http://c3-ce-app:6601"
;
proxy_pass
$
c3ce
;
}
location
^~ /
ceadmin
/ {
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
...
...
@@ -137,16 +146,6 @@ http {
set
$
imapp
"http://im-app:8081"
;
proxy_pass
$
imapp
;
}
location
^~ /
cpp
/ {
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_connect_timeout
300
s
;
proxy_send_timeout
300
s
;
proxy_read_timeout
300
s
;
set
$
cpp
"http://cp-project-app:8801"
;
proxy_pass
$
cpp
;
}
location
^~ /
dataset
/ {
proxy_set_header
Host
$
host
;
...
...
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