Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
c70dd31107073e87fa945b7ed7d58e6ad5c4f7a2
1 parent
86a3a177
nginx修改备份
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
script/nginx/conf/vhosts/location/yohobuywap_node.conf
script/nginx/conf/vhosts/location/yohobuywap_node.conf
View file @
c70dd31
...
...
@@ -18,4 +18,32 @@
location
= /
coupon
/
index
{
return
301
/
activity
/
coupon
?$
query_string
;
}
location
^~ /
product
/
sale
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuywap
-
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
^~ /
guang
/
star
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuywap
-
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
/
outlet
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuywap
-
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"
;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment