From ed62c6858bb8c88f0e72afb31859288fad85a478 Mon Sep 17 00:00:00 2001 From: nolim1t Date: Tue, 23 Jun 2020 14:51:38 +0700 Subject: [PATCH] Point to appropriate places as we are using vlans --- nginx/conf.d/default.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 6f8beb9..6460c58 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -5,16 +5,16 @@ server { location /api/ { add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE'; - proxy_pass http://localhost:3005/; + proxy_pass http://10.11.2.2:3005/; } location /manager-api/ { add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE'; - proxy_pass http://localhost:3006/; + proxy_pass http://10.11.2.1:3006/; } location / { add_header Access-Control-Allow-Origin *; - proxy_pass http://localhost:3004/; + proxy_pass http://10.11.0.3:3004/; } -} \ No newline at end of file +}