summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf2
-rw-r--r--nginx/sites/vainsocial.dev.conf4
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;
}