From a6f8000a5d6945d479640e6f69f73fba27df9aad Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:25:58 +0300 Subject: [PATCH] Update 000-default.conf --- files/nginx/conf/000-default.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/files/nginx/conf/000-default.conf b/files/nginx/conf/000-default.conf index 26d0c6e..b63bb6e 100644 --- a/files/nginx/conf/000-default.conf +++ b/files/nginx/conf/000-default.conf @@ -72,6 +72,14 @@ server { proxy_set_header Connection "upgrade"; } + location /uploads/ { + proxy_pass http://127.0.0.1:3000/uploads/; + proxy_set_header Host $http_host; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } + location / { proxy_pass http://127.0.0.1:5000/; proxy_set_header Host $http_host;