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
d302bbfc056ce80aae80092280be1e190eb58ad6
1 parent
bc821efa
修改nginx后进行归档。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
script/nginx/conf/vhosts/nginx.rls.yohobuy.https.conf
script/nginx/conf/vhosts/nginx.rls.yohobuy.https.conf
View file @
d302bbf
...
...
@@ -300,25 +300,6 @@ server
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
#for wechat pay
location
^~ /
home
/
orders
/
pay
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
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
^~ /
shopping
/
pay
/
wechatwapapi
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
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"
;
}
# others http 301 redirect https
location
/ {
return
301
https
://
m
.
yohobuy
.
com
$
request_uri
;
...
...
@@ -722,13 +703,6 @@ location ^~ /share_ {
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
#for we chat pay
location
=/
home
/
orders
/
pay
{
return
301
http
://$
host
$
request_uri
;
}
location
=/
shopping
/
pay
/
wechatwapapi
{
return
301
http
://$
host
$
request_uri
;
}
location
/ {
proxy_redirect
off
;
...
...
Please
register
or
login
to post a comment