Commit 7827f295 authored by rjshrjndrn's avatar rjshrjndrn
Browse files

Issue #000 feat: changing kong port

No related merge requests found
Showing with 3 additions and 5 deletions
+3 -5
......@@ -73,7 +73,7 @@ server {
}
location /api/ {
client_max_body_size 60M;
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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment