Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
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
chunhua.zhang
6 years ago
Commit
88efdc6318683cd4ccc5be780d6b5124eacb157c
1 parent
ed5ee084
add
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/api.ufo.conf
roles/openresty/templates/nginx.conf.j2
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/api.ufo.conf
View file @
88efdc6
...
...
@@ -91,7 +91,7 @@ server {
return
301
https
://$
host
$
request_uri
;
}
proxy_redirect
off
;
proxy_pass
http
://
10
.
66
.
16
.
6
/
mapp
/;
proxy_pass
http
://
ufomapp
/
mapp
/;
proxy_set_header
Host
"2.yohobuy.com"
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
...
...
roles/openresty/templates/nginx.conf.j2
View file @
88efdc6
...
...
@@ -237,6 +237,11 @@ http
keepalive 32;
}
#ufo mapp service, is a container service
upstream ufomapp{
server 10.66.16.6;
}
################ ufo limit #############
...
...
Please
register
or
login
to post a comment