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
hf
9 years ago
Commit
e59d7d1ace53b53ca632cd315411207614ad6574
1 parent
2b201e9a
do add yohobuy guang code
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
script/nginx/conf/vhosts/nginx.test.yohobuy.conf
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Rss.php
script/nginx/conf/vhosts/nginx.test.yohobuy.conf
View file @
e59d7d1
...
...
@@ -217,6 +217,14 @@ server
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
rss
{
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
^~ /
search
{
...
...
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Rss.php
View file @
e59d7d1
...
...
@@ -29,7 +29,7 @@ class RssController extends AbstractAction
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>有货逛</title>
<title>有货
·
逛</title>
<link>http://yohobuy.com</link>
<generator>http://m.yohobuy.com</generator>
<description>Yoho!Buy有货 | 年轻人潮流购物中心</description>
...
...
Please
register
or
login
to post a comment