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
665ed0e2e47e15669419cda233a5cdee3b80e6f3
1 parent
b7487613
code review by fei.hong: modify nginx config
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
script/nginx/conf/vhosts/nginx.pre.yohobuy.conf
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
script/nginx/conf/vhosts/nginx.pre.yohobuy.conf
View file @
665ed0e
...
...
@@ -446,11 +446,8 @@ server
}
location
^~ /
dist
/ {
<<<<<<<
HEAD
#root /Data/code/git/yohobuy/static;
#expires 30d;
=======
>>>>>>>
stable
/
wap
proxy_redirect
off
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_pass
http
://
cdn
.
yoho
.
cn
/;
...
...
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
View file @
665ed0e
...
...
@@ -458,6 +458,14 @@ server
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
dist
/ {
#root /Data/PE/yohobuy_H5/static;
#expires 30d;
proxy_redirect
off
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_pass
http
://
cdn
.
yoho
.
cn
/;
}
location
/ {
proxy_redirect
off
;
proxy_pass
http
://
119
.
254
.
81
.
245
;
...
...
Please
register
or
login
to post a comment