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
6b7361d95dd0f8101924344f4d98dd3a2ec8e248
1 parent
5988e9e8
url failed
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/search.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/search.conf
View file @
6b7361d
...
...
@@ -18,7 +18,7 @@ server {
location
/
search
{
internal
;
proxy_redirect
off
;
proxy_pass
http
://
search
;
proxy_pass
http
://
search
/
;
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"
;
...
...
@@ -31,7 +31,7 @@ server {
location
/
search2
{
internal
;
proxy_redirect
off
;
proxy_pass
http
://
search2
;
proxy_pass
http
://
search2
/
;
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