diff options
| author | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-04-04 10:33:44 +0530 |
|---|---|---|
| committer | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-04-04 10:33:44 +0530 |
| commit | 3a229577db319776f986f96cd9c60baf645e7b3e (patch) | |
| tree | 671415317b2fbf21fda82de3050076c33acff0b0 | |
| parent | 5b44df19c674c20e78747e8fbe035b421c9b369a (diff) | |
| download | vaindock-3a229577db319776f986f96cd9c60baf645e7b3e.tar.gz vaindock-3a229577db319776f986f96cd9c60baf645e7b3e.zip | |
Proxy pass setup for bridge (need to talk to shutter about end point URLs)
| -rw-r--r-- | nginx/nginx.conf | 2 | ||||
| -rw-r--r-- | nginx/sites/vainsocial.dev.conf | 4 |
2 files changed, 5 insertions, 1 deletions
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; } |
