Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
7827f295
Commit
7827f295
authored
5 years ago
by
rjshrjndrn
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: changing kong port
parent
c7afa470
release-2.0.0_RC1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-proxy/templates/proxy-default.conf
+3
-5
ansible/roles/stack-proxy/templates/proxy-default.conf
with
3 additions
and
5 deletions
+3
-5
ansible/roles/stack-proxy/templates/proxy-default.conf
+
3
−
5
View file @
7827f295
...
...
@@ -73,7 +73,7 @@ server {
}
location
/
api
/ {
client_max_body_size
60
M
;
proxy_pass
http
://
kong
:
8000
;
proxy_pass
http
://
kong
;
rewrite
^/
api
/(.*) /$
1
break
;
proxy_set_header
Connection
""
;
...
...
@@ -385,10 +385,9 @@ location ~* ^/content-plugins/(.*) {
# root /usr/share/nginx/www;
}
location
/
v3
/
device
/
register
{
proxy_pass
http
://
kong
:
8000
;
proxy_pass
http
://
kong
;
proxy_set_header
Connection
""
;
rewrite
^/
v3
/
device
/
register
/(.*) /
v3
/
device
/
register
/$
1
break
;
proxy_pass
$
target
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
...
...
@@ -400,10 +399,9 @@ location ~* ^/content-plugins/(.*) {
}
location
/
action
/
data
/
v3
/
metrics
{
proxy_pass
http
://
kong
:
8000
;
proxy_pass
http
://
kong
;
proxy_set_header
Connection
""
;
rewrite
^/
action
/
data
/
v3
/
metrics
/(.*) /
data
/
v3
/
metrics
/$
1
break
;
proxy_pass
$
target
;
proxy_http_version
1
.
1
;
proxy_set_header
Host
$
host
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets