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
d09d7922e83782928138b8bf453726cae056f73c
1 parent
55cc5f88
code review by fei.hong : do add app api Rn.php
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
View file @
d09d792
...
...
@@ -24,6 +24,15 @@ server
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
= /
rn
/
v1
{
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
= /
appembed
{
default_type
application
/
json
;
return
200
'{"code":200,"message":"app embed","data":{"open":"N","url":"http://m.yohobuy.com"}}'
;
...
...
Please
register
or
login
to post a comment