From 3a229577db319776f986f96cd9c60baf645e7b3e Mon Sep 17 00:00:00 2001 From: Kapil Viren Ahuja Date: Tue, 4 Apr 2017 10:33:44 +0530 Subject: Proxy pass setup for bridge (need to talk to shutter about end point URLs) --- nginx/nginx.conf | 2 +- nginx/sites/vainsocial.dev.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'nginx') diff --git a/nginx/nginx.conf b/nginx/nginx.conf index dd8fbc3..b6bafec 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -36,4 +36,4 @@ http { upstream websocket { server vaindock_queue:15674; } -} \ No newline at end of file +} diff --git a/nginx/sites/vainsocial.dev.conf b/nginx/sites/vainsocial.dev.conf index 9e6155e..f32b01c 100644 --- a/nginx/sites/vainsocial.dev.conf +++ b/nginx/sites/vainsocial.dev.conf @@ -7,6 +7,10 @@ server { root /var/www/vainsocial/public; index index.php index.html index.htm; + location /bridge { + proxy_pass http://192.168.1.34:8880/api; + } + location / { try_files $uri $uri/ /index.php$is_args$args; } -- cgit v1.3.1