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
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
6c36054ada8d27a966451219be5c18664ca5b724
1 parent
7683ac0b
code review by huanbao.wang: do feature brands and plusstar
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
script/nginx/conf/vhosts/nginx.rls.web.yohobuy.com.conf
script/nginx/conf/vhosts/nginx.rls.web.yohobuy.com.conf
View file @
6c36054
...
...
@@ -125,6 +125,39 @@ server
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
= /
brand
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
pc
;
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
^~ /
brand
/
plusstar
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
pc
;
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
^~ /
brand
/
brandList
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
pc
;
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
^~ /
brand
/
brandinfo
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
pc
;
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
/ {
proxy_redirect
off
;
...
...
Please
register
or
login
to post a comment