From 40df18e802ebe321f577bf6006a98aa1796b3c18 Mon Sep 17 00:00:00 2001 From: Henit Chobisa Date: Fri, 18 Aug 2023 13:49:14 +0000 Subject: [PATCH] chore: added ngnix config for space project running :4000 --- nginx/nginx-single-docker-image.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/nginx-single-docker-image.conf b/nginx/nginx-single-docker-image.conf index 8d927a1b2..b9f50d664 100644 --- a/nginx/nginx-single-docker-image.conf +++ b/nginx/nginx-single-docker-image.conf @@ -18,6 +18,11 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } + location /space/ { + proxy_pass http://localhost:4000/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html;