Update 000-default.conf

This commit is contained in:
Matte 2024-04-22 11:25:58 +03:00
parent 1260032f65
commit a6f8000a5d

View File

@ -72,6 +72,14 @@ server {
proxy_set_header Connection "upgrade"; 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 / { location / {
proxy_pass http://127.0.0.1:5000/; proxy_pass http://127.0.0.1:5000/;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;