Toggle navigation
Toggle navigation
This project
Loading...
Sign in
马力
/
yoho-ansible-roles
·
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
Plain Diff
Browse Files
Authored by
root
2018-07-16 15:40:14 +0800
Commit
cd02ba15dea8d4fbdc94cdf2f950f7274199adbd
2 parents
20be024e
73e8ce15
Merge branch 'master' of git.yoho.cn:ops/yoho-ansible-roles
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
roles/openresty/files/nginx/conf/vhosts/api.yoho.cn.conf
roles/openresty/files/nginx/conf/vhosts/union.yoho.cn.conf
roles/openresty/files/nginx/conf/vhosts/api.yoho.cn.conf
View file @
cd02ba1
...
...
@@ -192,6 +192,11 @@ server {
proxy_set_header
Connection
""
;
proxy_set_header
Host
$
host
;
}
location
~* .(
txt
)$ {
root
/
Data
/
local
/
openresty
-
1
.
9
.
15
.
1
/
nginx
/
html
;
}
}
...
...
roles/openresty/files/nginx/conf/vhosts/union.yoho.cn.conf
View file @
cd02ba1
...
...
@@ -52,7 +52,9 @@ server{
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
~* .(
txt
)$ {
root
/
Data
/
local
/
openresty
-
1
.
9
.
15
.
1
/
nginx
/
html
;
}
}
...
...
Please
register
or
login
to post a comment