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
5 years ago
Commit
666092d67a6c8ddd7bf7edbc57c8f8895e6cd1e0
1 parent
e1e98146
a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/api.ufo.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/api.ufo.conf
View file @
666092d
...
...
@@ -125,9 +125,9 @@ server {
access_by_lua_file
'conf/lua/limit_api_flow.lua'
;
log_by_lua_file
conf
/
lua
/
set_log_params
.
lua
;
location
~ ^/
erp
/
fastDelivery
/
{
location
/
erp
/
fastDelivery
{
proxy_redirect
off
;
proxy_pass
http
://
ufogateway
/
ufo
-
gateway
/
$
1
;
proxy_pass
http
://
ufogateway
/
ufo
-
gateway
/;
proxy_set_header
X
-
Real
-
IP
$
real_ip
;
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