server { listen 3000; server_name localhost; location / { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } location /static/ { root /usr/share/nginx/html; try_files $uri =404; } location /appflowy.svg { root /usr/share/nginx/html; try_files $uri =404; } }