From 637f1fd2a8ae2560f63e0ebb2595da34ceb3ea52 Mon Sep 17 00:00:00 2001 From: Markus Grigull Date: Thu, 3 Aug 2017 10:24:51 +0200 Subject: [PATCH] Fix nginx proxy for public files --- etc/nginx/villas.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/nginx/villas.conf b/etc/nginx/villas.conf index 770c1c1..d738a4b 100644 --- a/etc/nginx/villas.conf +++ b/etc/nginx/villas.conf @@ -14,6 +14,10 @@ server { proxy_pass http://backend:4000/; } + location /public { + proxy_pass http://backend:4000/public; + } + location /ws/api/ { proxy_pass http://node/api/; }