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
梁志锋
9 years ago
Commit
c54e99902135fe43daf9f3321e6c49e08ea01920
1 parent
9dc324de
备份nginx的修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
9 deletions
script/nginx/conf/vhost/production/location/yohobuypc_node.conf
script/nginx/conf/vhost/testing/location/yohobuypc_node.conf
script/nginx/conf/vhost/production/location/yohobuypc_node.conf
View file @
c54e999
...
...
@@ -40,12 +40,3 @@ location ^~ /passport/autosign/wechat/ {
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
product
/
sale
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
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"
;
}
...
...
script/nginx/conf/vhost/testing/location/yohobuypc_node.conf
0 → 100644
View file @
c54e999
location
^~ /
passport
/
autosign
/
wechat
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
passport
/
login
/
wechat
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
node
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
= /
product
/
index
/
getNodeContent
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
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
/
sale
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
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
/
outlets
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
-
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"
;
}
...
...
Please
register
or
login
to post a comment