From a910feda626a7530414d9b167ca87b2d14bd9aa9 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Tue, 16 Jun 2020 15:56:41 +0200 Subject: [PATCH] Reroute /api route to the back-end --- client/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/nginx.conf b/client/nginx.conf index abe846e..afbf74b 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -26,6 +26,11 @@ http { alias /app/assets/styling; } + location /api { + proxy_pass https://raymon.dev/api; + proxy_buffering on; + } + error_page 404 /404.html; location = /404.html { root /app/error;