Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
c95fc831b4f682cc03c09dc2de8bf9fdb498f312
2 parents
7bc5ae32
c54e9990
Merge branch 'master' into develop2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
9 deletions
script/nginx/conf/vhost/production/location/yohobuypc_node.conf
script/nginx/conf/vhost/testing/location/yohobuypc_node.conf
script/nginx/conf/vhost/production/location/yohobuypc_node.conf
View file @
c95fc83
...
...
@@ -40,12 +40,3 @@ location ^~ /passport/autosign/wechat/ {
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
product
/
sale
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
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_set_header
Accept
-
Encoding
"gzip"
;
}
...
...
script/nginx/conf/vhost/testing/location/yohobuypc_node.conf
0 → 100644
View file @
c95fc83
location
^~ /
passport
/
autosign
/
wechat
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
passport
/
login
/
wechat
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
= /
product
/
index
/
getNodeContent
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
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_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
product
/
sale
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
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_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
product
/
outlets
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
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_set_header
Accept
-
Encoding
"gzip"
;
}
...
...
Please
register
or
login
to post a comment