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
91350fcf9a213c5048490f54fe188ae4a63ffa48
1 parent
0dfbb18a
code review by hf: do add 99click partner analysis code and add login,cart to support https config
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
0 deletions
script/nginx/conf/vhosts/nginx.pre.yohobuy.conf.conf
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
script/nginx/conf/vhosts/nginx.pre.yohobuy.conf.conf
View file @
91350fc
...
...
@@ -364,4 +364,63 @@ server
}
server
{
listen
80
;
server_name
huodong
.
m
.
yohobuy
.
com
;
root
/
Data
/
code
/
git
/
yohobuy
/
yohobuy
/
huodong
.
m
.
yohobuy
.
com
/
public
;
location
/ {
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
~* \.(
ico
|
woff
|
svg
|
eot
|
ttf
|
otf
)$ {
expires
30
d
;
}
location
=/
crossdomain
.
xml
{
expires
30
d
;
}
location
=/
sitemap
.
xml
{
expires
1
d
;
}
location
=/
robots
.
txt
{
expires
1
d
;
}
}
server
{
listen
443
;
server_name
login
.
m
.
yohobuy
.
com
cart
.
m
.
yohobuy
.
com
;
ssl
on
;
ssl_certificate
/
Data
/
local
/
nginx
-
1
.
8
.
0
/
ssl
/
server
.
crt
;
ssl_certificate_key
/
Data
/
local
/
nginx
-
1
.
8
.
0
/
ssl
/
server
.
key
;
root
/
Data
/
code
/
git
/
yohobuy
/
yohobuy
/
m
.
yohobuy
.
com
/
public
;
location
/ {
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
~* \.(
ico
|
woff
|
svg
|
eot
|
ttf
|
otf
)$ {
expires
30
d
;
}
location
=/
crossdomain
.
xml
{
expires
30
d
;
}
location
=/
sitemap
.
xml
{
expires
1
d
;
}
location
=/
robots
.
txt
{
expires
1
d
;
}
}
...
...
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
View file @
91350fc
...
...
@@ -453,3 +453,35 @@ server
expires
1
d
;
}
}
server
{
listen
443
;
server_name
login
.
m
.
yohobuy
.
com
cart
.
m
.
yohobuy
.
com
;
ssl
on
;
ssl_certificate
/
Data
/
local
/
nginx
-
1
.
8
.
0
/
ssl
/
server
.
crt
;
ssl_certificate_key
/
Data
/
local
/
nginx
-
1
.
8
.
0
/
ssl
/
server
.
key
;
root
/
Data
/
PE
/
yohobuy
/
yohobuy
/
m
.
yohobuy
.
com
/
public
;
location
/ {
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
~* \.(
ico
|
woff
|
svg
|
eot
|
ttf
|
otf
)$ {
expires
30
d
;
}
location
=/
crossdomain
.
xml
{
expires
30
d
;
}
location
=/
sitemap
.
xml
{
expires
1
d
;
}
location
=/
robots
.
txt
{
expires
1
d
;
}
}
...
...
Please
register
or
login
to post a comment