Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
2016-02-02 16:46:04 +0800
Commit
36ddcbec73eda097a9b0edaf234b511f84ddb24e
1 parent
513ba539
code review by fei.hong: do add login support https modify nginx config
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
script/nginx/conf/vhosts/nginx.rls.yohobuy.com.conf
View file @
36ddcbe
...
...
@@ -396,6 +396,12 @@ server
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
dist
/ {
proxy_redirect
off
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_pass
http
://
cdn
.
yoho
.
cn
/;
}
location
~* \.(
ico
|
woff
|
svg
|
eot
|
ttf
|
otf
)$ {
expires
30
d
;
...
...
Please
register
or
login
to post a comment