From 2f4492c407d350b413dcfcfb40a65101fb064e4b Mon Sep 17 00:00:00 2001 From: ntr Date: Mon, 4 Sep 2023 19:11:53 +1000 Subject: [PATCH] nginx api fix --- nginx/spacerace.systems.nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/spacerace.systems.nginx.conf b/nginx/spacerace.systems.nginx.conf index e92ed6b..d5c3aa4 100644 --- a/nginx/spacerace.systems.nginx.conf +++ b/nginx/spacerace.systems.nginx.conf @@ -22,9 +22,9 @@ server { # try_files $uri $uri/ index.html; # } - location /api { + location /api/ { # trailing slash means api will receive url WITHOUT /api - proxy_pass http://spacerace_server; + proxy_pass http://spacerace_server/; proxy_read_timeout 600s; }