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;